Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007804/0.0007804, allocations: 92.95 kB / 16.33 MB, free: 5.938 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.000871/0.000871, allocations: 179 kB / 17.22 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3566/0.3566, allocations: 43.55 MB / 315.2 MB, free: 8.816 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005223, allocations: 12 kB / 384.6 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 58.86 MB / 443.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4344/0.557, allocations: 169.5 MB / 0.5986 GB, free: 2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.5589, allocations: 0.8854 MB / 0.5995 GB, free: 1.113 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.5591, allocations: 11.88 kB / 0.5995 GB, free: 1.102 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005467/0.5596, allocations: 147 kB / 0.5996 GB, free: 0.957 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0005136/0.5601, allocations: 274.4 kB / 0.5999 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004535/0.5647, allocations: 1.604 MB / 0.6014 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.5658, allocations: 1.1 MB / 0.6025 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.5662, allocations: 272 kB / 0.6028 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.5695, allocations: 1.466 MB / 0.6042 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.57, allocations: 318.9 kB / 0.6045 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.5701, allocations: 20 kB / 0.6045 GB, free: 11.94 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004257/0.5743, allocations: 2.438 MB / 0.6069 GB, free: 9.496 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.5745, allocations: 179.5 kB / 0.6071 GB, free: 9.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.5747, allocations: 109.5 kB / 0.6072 GB, free: 9.207 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.5765, allocations: 1.38 MB / 0.6085 GB, free: 7.824 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5765, allocations: 0 / 0.6085 GB, free: 7.824 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5765, allocations: 0 / 0.6085 GB, free: 7.824 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.5765, allocations: 0 / 0.6085 GB, free: 7.824 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001607/0.5782, allocations: 0.9699 MB / 0.6095 GB, free: 6.797 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.5782, allocations: 8.031 kB / 0.6095 GB, free: 6.789 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.5785, allocations: 59.42 kB / 0.6095 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.579, allocations: 358.1 kB / 0.6099 GB, free: 6.344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.579, allocations: 29 kB / 0.6099 GB, free: 6.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.5791, allocations: 43.98 kB / 0.6099 GB, free: 6.273 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008436/0.5799, allocations: 0.5267 MB / 0.6105 GB, free: 5.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.58, allocations: 0 / 0.6105 GB, free: 5.719 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.903e-05/0.58, allocations: 23.25 kB / 0.6105 GB, free: 5.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.58, allocations: 12 kB / 0.6105 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.5809, allocations: 0.4956 MB / 0.611 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.5833, allocations: 1.967 MB / 0.6129 GB, free: 3.086 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007002/0.584, allocations: 460.8 kB / 0.6133 GB, free: 2.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.5843, allocations: 182.5 kB / 0.6135 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008055/0.5852, allocations: 0.9532 MB / 0.6144 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.5852, allocations: 46.56 kB / 0.6145 GB, free: 1.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.5852, allocations: 0 / 0.6145 GB, free: 1.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=30): time 0.001045/0.5863, allocations: 0.5011 MB / 0.615 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.5864, allocations: 114.8 kB / 0.6151 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.5868, allocations: 405.5 kB / 0.6155 GB, free: 148 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.5869, allocations: 37.7 kB / 0.6155 GB, free: 104 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.5871, allocations: 216.1 kB / 0.6157 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.5872, allocations: 102.6 kB / 0.6158 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.5872, allocations: 4 kB / 0.6158 GB, free: 15.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5874, allocations: 350.8 kB / 0.6162 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.5877, allocations: 160.6 kB / 0.6163 GB, free: 15.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.5881, allocations: 262 kB / 0.6166 GB, free: 14.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.5884, allocations: 249.7 kB / 0.6168 GB, free: 14.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5885, allocations: 0 / 0.6168 GB, free: 14.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009216/0.5894, allocations: 0.5587 MB / 0.6173 GB, free: 14.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.5894, allocations: 59.41 kB / 0.6174 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5895, allocations: 7.984 kB / 0.6174 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.5895, allocations: 8.375 kB / 0.6174 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.5899, allocations: 87.89 kB / 0.6175 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.5899, allocations: 8.562 kB / 0.6175 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.5902, allocations: 67.38 kB / 0.6176 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.5903, allocations: 19.98 kB / 0.6176 GB, free: 13.88 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.5905, allocations: 185.7 kB / 0.6178 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5906, allocations: 43.53 kB / 0.6178 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009773/0.5916, allocations: 496 kB / 0.6183 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5916, allocations: 8 kB / 0.6183 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5916, allocations: 7.984 kB / 0.6183 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5917, allocations: 0 / 0.6183 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.5944, allocations: 2.433 MB / 0.6207 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5944, allocations: 7.938 kB / 0.6207 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.5946, allocations: 60.09 kB / 0.6207 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.5947, allocations: 11.95 kB / 0.6207 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.5947, allocations: 8.875 kB / 0.6208 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.5947, allocations: 7.938 kB / 0.6208 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5947, allocations: 3.938 kB / 0.6208 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/0.5954, allocations: 0.6479 MB / 0.6214 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.5956, allocations: 144.4 kB / 0.6215 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.5956, allocations: 15.94 kB / 0.6216 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.596, allocations: 30.8 kB / 0.6216 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.5961, allocations: 19.97 kB / 0.6216 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.5961, allocations: 19.98 kB / 0.6216 GB, free: 9.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003548/0.5965, allocations: 363.1 kB / 0.622 GB, free: 8.984 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5965, allocations: 0 / 0.622 GB, free: 8.984 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001071/0.5976, allocations: 371.7 kB / 0.6223 GB, free: 8.621 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/0.5987, allocations: 0.5638 MB / 0.6229 GB, free: 8.059 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007415/0.5995, allocations: 478.9 kB / 0.6233 GB, free: 7.566 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5995, allocations: 4 kB / 0.6233 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.5998, allocations: 168.3 kB / 0.6235 GB, free: 7.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.6011, allocations: 269.6 kB / 0.6238 GB, free: 7.145 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.6023, allocations: 0.9638 MB / 0.6247 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.6028, allocations: 0.8393 MB / 0.6255 GB, free: 5.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.6029, allocations: 43.42 kB / 0.6256 GB, free: 5.23 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.6029, allocations: 0 / 0.6256 GB, free: 5.23 MB / 494.1 MB Notification: Performance of Templates: time 0.2349/0.8378, allocations: 11.81 MB / 0.6371 GB, free: 152.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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 OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.o] Error 1