Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 93.88 kB / 16.95 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 187.4 kB / 17.85 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 223.2 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003357, allocations: 8 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1706, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006278/0.1769, allocations: 4.274 MB / 356.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004413/0.1814, allocations: 1.229 MB / 357.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.1826, allocations: 12 kB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007251/0.1834, allocations: 87.23 kB / 357.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.185, allocations: 218.1 kB / 357.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.1865, allocations: 227.7 kB / 357.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002895/0.1895, allocations: 0.9818 MB / 358.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008229/0.1903, allocations: 207.5 kB / 359.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.1914, allocations: 346.7 kB / 359.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.1927, allocations: 422.2 kB / 359.8 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004314/0.1932, allocations: 44 kB / 359.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007333/0.1939, allocations: 67.98 kB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003141/0.1942, allocations: 155.3 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006122/0.1949, allocations: 165.3 kB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.1963, allocations: 0.7442 MB / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.1963, allocations: 0 / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.791e-06/0.1963, allocations: 0 / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.53e-05/0.1964, allocations: 3.938 kB / 361 MB, free: 10.82 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.00416/0.2005, allocations: 1.153 MB / 362.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.2006, allocations: 12.03 kB / 362.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/0.2009, allocations: 94.83 kB / 362.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008269/0.2018, allocations: 466.7 kB / 362.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.2019, allocations: 45.31 kB / 362.8 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.202, allocations: 67.94 kB / 362.8 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.2035, allocations: 0.6741 MB / 363.5 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.2036, allocations: 0 / 363.5 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/0.2036, allocations: 27.98 kB / 363.5 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.2036, allocations: 16 kB / 363.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.2056, allocations: 0.7507 MB / 364.3 MB, free: 7.402 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/0.2105, allocations: 2.433 MB / 366.7 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.2121, allocations: 0.6374 MB / 367.4 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/0.2128, allocations: 362 kB / 367.7 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.003e-05/0.2129, allocations: 16.41 kB / 367.7 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.2141, allocations: 449.4 kB / 368.2 MB, free: 3.336 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.575e-06/0.2141, allocations: 0 / 368.2 MB, free: 3.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.3347/0.5489, allocations: 16.73 MB / 384.9 MB, free: 22.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.549, allocations: 145 kB / 385 MB, free: 21.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/0.5497, allocations: 0.5154 MB / 385.6 MB, free: 21.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.5498, allocations: 48.58 kB / 385.6 MB, free: 21.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.55, allocations: 392.7 kB / 386 MB, free: 21.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.5503, allocations: 311.4 kB / 386.3 MB, free: 20.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.5504, allocations: 20.12 kB / 386.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.5505, allocations: 384.6 kB / 386.7 MB, free: 20.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.5523, allocations: 0.7954 MB / 387.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.5541, allocations: 1.033 MB / 388.5 MB, free: 19.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.5557, allocations: 0.8839 MB / 389.4 MB, free: 19.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5558, allocations: 3.656 kB / 389.4 MB, free: 19.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0191/0.5749, allocations: 5.651 MB / 395.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/0.575, allocations: 63.52 kB / 395.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.575, allocations: 12 kB / 395.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02891/0.6039, allocations: 7.316 MB / 402.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.6047, allocations: 183.7 kB / 402.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005665/0.6103, allocations: 3.22 MB / 405.9 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.612, allocations: 219.9 kB / 406.1 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.6121, allocations: 47.97 kB / 406.1 MB, free: 2.898 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004303/0.6125, allocations: 229.6 kB / 406.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.6127, allocations: 79.06 kB / 406.4 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02008/0.6327, allocations: 5.464 MB / 411.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/0.6328, allocations: 11.94 kB / 411.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6329, allocations: 0 / 411.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/0.6329, allocations: 11.94 kB / 411.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.6348, allocations: 1.102 MB / 413 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.6349, allocations: 0 / 413 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/0.6354, allocations: 123.8 kB / 413.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03096/0.6664, allocations: 7.284 MB / 420.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/0.6667, allocations: 27.97 kB / 420.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005807/0.6725, allocations: 3.088 MB / 423.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.6725, allocations: 3.953 kB / 423.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0236/0.6961, allocations: 6.424 MB / 430 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.6965, allocations: 144.2 kB / 430.1 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.6968, allocations: 20 kB / 430.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.6983, allocations: 223.7 kB / 430.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.6986, allocations: 96.84 kB / 430.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.6987, allocations: 35.97 kB / 430.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005091/0.6992, allocations: 350.8 kB / 430.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6993, allocations: 0 / 430.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000967/0.7002, allocations: 256 kB / 431.1 MB, free: 9.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003173/0.7006, allocations: 137.1 kB / 431.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006459/0.707, allocations: 2.337 MB / 433.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7071, allocations: 0 / 433.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003431/0.7105, allocations: 1.152 MB / 434.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.7118, allocations: 133.8 kB / 434.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/0.7181, allocations: 2.128 MB / 436.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008917/0.719, allocations: 0.9471 MB / 437.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.7193, allocations: 43.38 kB / 437.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of SimCode: time 1.233e-06/0.7193, allocations: 3.938 kB / 437.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of Templates: time 0.0372/0.7565, allocations: 17.35 MB / 455.3 MB, free: 1.566 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGateCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGateCalcHelperMain.o] Error 1