Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008086/0.0008086, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008035/0.0008034, allocations: 183.7 kB / 16.92 MB, free: 6.684 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.268/1.268, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6919/0.6919, allocations: 132.3 MB / 424.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003027, allocations: 14.28 kB / 0.5046 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4139, allocations: 81.58 MB / 0.5843 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.205/0.619, allocations: 190.3 MB / 0.7701 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.6346, allocations: 14.22 MB / 0.784 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.6357, allocations: 39.75 kB / 0.784 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.637, allocations: 409.8 kB / 0.7844 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004355/0.6413, allocations: 1.786 MB / 0.7862 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.6435, allocations: 0.7577 MB / 0.7869 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004071/0.6476, allocations: 3.63 MB / 0.7905 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.6489, allocations: 0.904 MB / 0.7913 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004169/0.6531, allocations: 1.414 MB / 0.7927 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.6547, allocations: 0.9166 MB / 0.7936 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.6549, allocations: 48 kB / 0.7937 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.6571, allocations: 1.243 MB / 0.7949 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000455/0.6576, allocations: 442.7 kB / 0.7953 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007545/0.6583, allocations: 0.5809 MB / 0.7959 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.6603, allocations: 1.407 MB / 0.7972 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.6603, allocations: 0 / 0.7972 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6603, allocations: 0 / 0.7972 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.6603, allocations: 4 kB / 0.7972 GB, free: 5.668 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002459/0.6628, allocations: 1.231 MB / 0.7985 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.6629, allocations: 11.97 kB / 0.7985 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.6643, allocations: 254.4 kB / 0.7987 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.6656, allocations: 0.7531 MB / 0.7994 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.874e-05/0.6657, allocations: 74 kB / 0.7995 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.6658, allocations: 96 kB / 0.7996 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.6676, allocations: 1.173 MB / 0.8007 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.6676, allocations: 3.938 kB / 0.8008 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.6677, allocations: 36 kB / 0.8008 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.6678, allocations: 37.98 kB / 0.8008 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.6691, allocations: 0.9016 MB / 0.8017 GB, free: 0.9336 MB / 0.6231 GB 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.005539/0.6746, allocations: 5.723 MB / 0.8073 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.6754, allocations: 0.532 MB / 0.8078 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.6758, allocations: 318.6 kB / 0.8081 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005894/0.6764, allocations: 323.7 kB / 0.8084 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.6765, allocations: 39 kB / 0.8085 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 3.106e-06/0.6765, allocations: 0 / 0.8085 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001554/0.6781, allocations: 0.7987 MB / 0.8092 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/0.6782, allocations: 59.78 kB / 0.8093 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/0.6791, allocations: 0.7549 MB / 0.81 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.6791, allocations: 37.7 kB / 0.8101 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.6795, allocations: 0.5103 MB / 0.8106 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.6797, allocations: 173.5 kB / 0.8107 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.6798, allocations: 65.69 kB / 0.8108 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6799, allocations: 330 kB / 0.8111 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.6803, allocations: 249.8 kB / 0.8113 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.6809, allocations: 0.5644 MB / 0.8119 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009691/0.6818, allocations: 0.7917 MB / 0.8127 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6819, allocations: 0 / 0.8127 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001327/0.6832, allocations: 0.8429 MB / 0.8135 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.6832, allocations: 12 kB / 0.8135 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.6833, allocations: 8 kB / 0.8135 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.6833, allocations: 12 kB / 0.8135 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.6839, allocations: 155.7 kB / 0.8137 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.271e-05/0.6839, allocations: 23.81 kB / 0.8137 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009957/0.6849, allocations: 143.5 kB / 0.8138 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.685, allocations: 36 kB / 0.8139 GB, free: 3.633 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000561/0.6856, allocations: 329.5 kB / 0.8142 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.6857, allocations: 87.02 kB / 0.8143 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.6868, allocations: 0.6102 MB / 0.8149 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6868, allocations: 8 kB / 0.8149 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.6868, allocations: 3.938 kB / 0.8149 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006745/0.6875, allocations: 0.525 MB / 0.8154 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.6899, allocations: 1.651 MB / 0.817 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6899, allocations: 8.219 kB / 0.817 GB, free: 316 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.6904, allocations: 115.8 kB / 0.8171 GB, free: 200 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.6904, allocations: 4 kB / 0.8171 GB, free: 196 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.6905, allocations: 16 kB / 0.8171 GB, free: 180 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.6905, allocations: 4 kB / 0.8171 GB, free: 176 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.6905, allocations: 4 kB / 0.8171 GB, free: 172 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2942/0.9847, allocations: 1.051 MB / 0.8182 GB, free: 220.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.9851, allocations: 222.3 kB / 0.8184 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/0.9852, allocations: 12.72 kB / 0.8184 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.9858, allocations: 67.42 kB / 0.8185 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.9859, allocations: 39.38 kB / 0.8185 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.9859, allocations: 19.39 kB / 0.8185 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007299/0.9867, allocations: 0.5101 MB / 0.819 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9867, allocations: 0 / 0.819 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000907/0.9876, allocations: 292 kB / 0.8193 GB, free: 220.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004368/0.988, allocations: 204.8 kB / 0.8195 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000981/0.989, allocations: 0.6082 MB / 0.8201 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.989, allocations: 1.062 kB / 0.8201 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.9895, allocations: 278.9 kB / 0.8203 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.9918, allocations: 434.5 kB / 0.8208 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.9951, allocations: 2.461 MB / 0.8232 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/0.9959, allocations: 1.125 MB / 0.8243 GB, free: 218 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.9961, allocations: 76.53 kB / 0.8243 GB, free: 218 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.9961, allocations: 4 kB / 0.8243 GB, free: 218 MB / 0.6387 GB Notification: Performance of Templates: time 0.02518/1.021, allocations: 14.55 MB / 0.8386 GB, free: 212.2 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o] Error 1