Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001316/0.001316, allocations: 95.84 kB / 17.63 MB, free: 5.719 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.002037/0.002038, allocations: 178.6 kB / 18.52 MB, free: 5.172 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.591/1.591, allocations: 223.2 MB / 242.5 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2497/0.2497, allocations: 44.22 MB / 337.9 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003735, allocations: 8 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 61.93 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5941/0.7394, allocations: 165 MB / 0.6223 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.7417, allocations: 0.8816 MB / 0.6232 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.742, allocations: 7.938 kB / 0.6232 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005733/0.7426, allocations: 151 kB / 0.6233 GB, free: 12.86 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0006041/0.7432, allocations: 274.4 kB / 0.6236 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.7478, allocations: 1.412 MB / 0.625 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.7493, allocations: 1.107 MB / 0.626 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004543/0.7498, allocations: 251.8 kB / 0.6263 GB, free: 9.828 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/0.7535, allocations: 1.328 MB / 0.6276 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005414/0.754, allocations: 314.9 kB / 0.6279 GB, free: 8.188 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/0.7541, allocations: 20 kB / 0.6279 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00455/0.7586, allocations: 2.254 MB / 0.6301 GB, free: 5.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.7589, allocations: 167.6 kB / 0.6303 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.7591, allocations: 117.5 kB / 0.6304 GB, free: 5.625 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.7616, allocations: 1.302 MB / 0.6316 GB, free: 4.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7616, allocations: 0 / 0.6316 GB, free: 4.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.7616, allocations: 4 kB / 0.6316 GB, free: 4.316 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.7616, allocations: 0 / 0.6316 GB, free: 4.316 MB / 462.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.001748/0.7634, allocations: 0.9529 MB / 0.6326 GB, free: 3.305 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.7634, allocations: 8.031 kB / 0.6326 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.7637, allocations: 59.42 kB / 0.6326 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.7642, allocations: 362.1 kB / 0.633 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.7642, allocations: 29 kB / 0.633 GB, free: 2.816 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.7643, allocations: 40 kB / 0.633 GB, free: 2.777 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/0.7652, allocations: 0.5196 MB / 0.6336 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.7652, allocations: 0 / 0.6336 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.7653, allocations: 20 kB / 0.6336 GB, free: 2.207 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.7653, allocations: 8 kB / 0.6336 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008239/0.7661, allocations: 0.493 MB / 0.6341 GB, free: 1.707 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.7687, allocations: 1.982 MB / 0.636 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/0.7694, allocations: 456.7 kB / 0.6364 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.7698, allocations: 190.4 kB / 0.6366 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008173/0.7706, allocations: 0.9494 MB / 0.6375 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.7706, allocations: 42.5 kB / 0.6376 GB, free: 13.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.7706, allocations: 0 / 0.6376 GB, free: 13.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=30): time 0.001075/0.7717, allocations: 0.5097 MB / 0.6381 GB, free: 13.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.7718, allocations: 106.8 kB / 0.6382 GB, free: 13.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004451/0.7723, allocations: 401.6 kB / 0.6386 GB, free: 12.65 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.7723, allocations: 37.64 kB / 0.6386 GB, free: 12.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.7725, allocations: 216.1 kB / 0.6388 GB, free: 12.39 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.262e-05/0.7726, allocations: 106.5 kB / 0.6389 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.7726, allocations: 8 kB / 0.6389 GB, free: 12.28 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7728, allocations: 350.8 kB / 0.6393 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.7731, allocations: 156.6 kB / 0.6394 GB, free: 11.78 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.7734, allocations: 262.3 kB / 0.6397 GB, free: 11.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.7738, allocations: 243.2 kB / 0.6399 GB, free: 11.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7738, allocations: 0 / 0.6399 GB, free: 11.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009717/0.7748, allocations: 0.5666 MB / 0.6404 GB, free: 10.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.556e-05/0.7749, allocations: 63.41 kB / 0.6405 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7749, allocations: 4.062 kB / 0.6405 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.7749, allocations: 15.98 kB / 0.6405 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.7753, allocations: 83.89 kB / 0.6406 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.7754, allocations: 7.938 kB / 0.6406 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.7757, allocations: 63.42 kB / 0.6407 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.7758, allocations: 23.98 kB / 0.6407 GB, free: 10.38 MB / 478.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.00025/0.7761, allocations: 181.7 kB / 0.6409 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.7762, allocations: 47.48 kB / 0.6409 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.7772, allocations: 0.4894 MB / 0.6414 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7772, allocations: 4 kB / 0.6414 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.7772, allocations: 4.047 kB / 0.6414 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.7773, allocations: 7.969 kB / 0.6414 GB, free: 9.629 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.78, allocations: 2.434 MB / 0.6438 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.78, allocations: 4.031 kB / 0.6438 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.7803, allocations: 63.91 kB / 0.6438 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.7803, allocations: 4 kB / 0.6438 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.7804, allocations: 8 kB / 0.6439 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.7804, allocations: 7.938 kB / 0.6439 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7804, allocations: 0 / 0.6439 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007977/0.7812, allocations: 0.6589 MB / 0.6445 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.7813, allocations: 144.4 kB / 0.6446 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/0.7814, allocations: 11.98 kB / 0.6447 GB, free: 5.895 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.7818, allocations: 23.98 kB / 0.6447 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.7819, allocations: 31.92 kB / 0.6447 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.782, allocations: 19.98 kB / 0.6447 GB, free: 5.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000385/0.7824, allocations: 359.1 kB / 0.6451 GB, free: 5.469 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7824, allocations: 0 / 0.6451 GB, free: 5.469 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001079/0.7834, allocations: 335.7 kB / 0.6454 GB, free: 5.141 MB / 478.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.00107/0.7845, allocations: 492.3 kB / 0.6459 GB, free: 4.664 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008174/0.7854, allocations: 477.8 kB / 0.6463 GB, free: 4.176 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7854, allocations: 4 kB / 0.6463 GB, free: 4.172 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.7857, allocations: 179.6 kB / 0.6465 GB, free: 3.996 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.787, allocations: 250.1 kB / 0.6467 GB, free: 3.758 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.7884, allocations: 0.9577 MB / 0.6477 GB, free: 2.742 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.7889, allocations: 0.8393 MB / 0.6485 GB, free: 1.879 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.789, allocations: 47.44 kB / 0.6485 GB, free: 1.836 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7891, allocations: 0 / 0.6485 GB, free: 1.836 MB / 478.1 MB Notification: Performance of Templates: time 0.01695/0.806, allocations: 11.14 MB / 0.6594 GB, free: 6.77 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile make -j1 -f ModelicaTest_4.0.0_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.o] Error 1