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.001114/0.001114, allocations: 96.14 kB / 15.87 MB, free: 16 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.001228/0.001228, allocations: 198.4 kB / 16.79 MB, free: 6.828 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7086/0.7086, allocations: 132.2 MB / 422.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 64.12 kB / 0.5017 GB, free: 4.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4023, allocations: 80.21 MB / 0.58 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1918/0.5942, allocations: 192.9 MB / 0.7684 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.61, allocations: 14.4 MB / 0.7824 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.6114, allocations: 31.81 kB / 0.7825 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.6129, allocations: 417.7 kB / 0.7829 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.617, allocations: 1.782 MB / 0.7846 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.6191, allocations: 0.7612 MB / 0.7853 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0034/0.6225, allocations: 3.63 MB / 0.7889 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.6236, allocations: 0.9441 MB / 0.7898 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004033/0.6277, allocations: 1.448 MB / 0.7912 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.6292, allocations: 0.9652 MB / 0.7922 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.6294, allocations: 64 kB / 0.7922 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.6317, allocations: 1.251 MB / 0.7934 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.6321, allocations: 466.8 kB / 0.7939 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006556/0.6328, allocations: 0.5947 MB / 0.7945 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.6342, allocations: 1.419 MB / 0.7959 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.6343, allocations: 4 kB / 0.7959 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6343, allocations: 3.938 kB / 0.7959 GB, free: 4 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.6343, allocations: 4 kB / 0.7959 GB, free: 3.996 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.002052/0.6364, allocations: 1.441 MB / 0.7973 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6364, allocations: 16.02 kB / 0.7973 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.6377, allocations: 246.3 kB / 0.7975 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.6388, allocations: 0.757 MB / 0.7983 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.6389, allocations: 77.98 kB / 0.7983 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.639, allocations: 92 kB / 0.7984 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.6406, allocations: 1.169 MB / 0.7996 GB, free: 36 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.6406, allocations: 7.938 kB / 0.7996 GB, free: 28 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.6407, allocations: 40.08 kB / 0.7996 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.6408, allocations: 30 kB / 0.7996 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.6421, allocations: 0.8976 MB / 0.8005 GB, free: 15.05 MB / 0.6387 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.005043/0.6471, allocations: 5.723 MB / 0.8061 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.6479, allocations: 0.528 MB / 0.8066 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/0.6483, allocations: 318.6 kB / 0.8069 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/0.6489, allocations: 315.7 kB / 0.8072 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.6489, allocations: 39 kB / 0.8073 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.524e-06/0.6489, allocations: 0 / 0.8073 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001446/0.6504, allocations: 0.8025 MB / 0.808 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.6504, allocations: 63.77 kB / 0.8081 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/0.6512, allocations: 0.747 MB / 0.8088 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.6513, allocations: 41.7 kB / 0.8089 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.6516, allocations: 0.5027 MB / 0.8094 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.6518, allocations: 181.4 kB / 0.8095 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.652, allocations: 138.6 kB / 0.8097 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6521, allocations: 334 kB / 0.81 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.6525, allocations: 249.8 kB / 0.8102 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.6531, allocations: 0.5605 MB / 0.8108 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/0.654, allocations: 0.8034 MB / 0.8116 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.654, allocations: 0 / 0.8116 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001273/0.6553, allocations: 0.8428 MB / 0.8124 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.6553, allocations: 11.94 kB / 0.8124 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.6553, allocations: 12.12 kB / 0.8124 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/0.6554, allocations: 15.98 kB / 0.8124 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/0.656, allocations: 151.8 kB / 0.8126 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.656, allocations: 19.88 kB / 0.8126 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009478/0.657, allocations: 135 kB / 0.8127 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.657, allocations: 32 kB / 0.8127 GB, free: 1.699 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.0004896/0.6575, allocations: 333.5 kB / 0.8131 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.6577, allocations: 82.97 kB / 0.8131 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.6587, allocations: 0.6179 MB / 0.8137 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6587, allocations: 4 kB / 0.8138 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6587, allocations: 7.938 kB / 0.8138 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006492/0.6594, allocations: 0.5095 MB / 0.8143 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3341/0.9935, allocations: 1.663 MB / 0.8159 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.9936, allocations: 2.531 kB / 0.8159 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.9941, allocations: 111.4 kB / 0.816 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.9942, allocations: 7.688 kB / 0.816 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.9942, allocations: 16.66 kB / 0.816 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.9942, allocations: 3.656 kB / 0.816 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.9942, allocations: 3.156 kB / 0.816 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.9957, allocations: 1.052 MB / 0.817 GB, free: 221 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.9961, allocations: 230.1 kB / 0.8173 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.9962, allocations: 13.59 kB / 0.8173 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/0.9968, allocations: 57.08 kB / 0.8173 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.9969, allocations: 35.88 kB / 0.8174 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.9969, allocations: 21.66 kB / 0.8174 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007471/0.9977, allocations: 0.5109 MB / 0.8179 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9977, allocations: 0 / 0.8179 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009753/0.9987, allocations: 294.5 kB / 0.8182 GB, free: 220.6 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.0005376/0.9992, allocations: 218 kB / 0.8184 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001033/1, allocations: 0.606 MB / 0.819 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1, allocations: 1.281 kB / 0.819 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/1.001, allocations: 272.1 kB / 0.8192 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.00206/1.003, allocations: 433.8 kB / 0.8196 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/1.006, allocations: 2.385 MB / 0.822 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/1.007, allocations: 1.121 MB / 0.8231 GB, free: 218 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/1.007, allocations: 80.39 kB / 0.8231 GB, free: 218 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/1.007, allocations: 0 / 0.8231 GB, free: 218 MB / 0.6387 GB Notification: Performance of Templates: time 0.02627/1.033, allocations: 14.7 MB / 0.8375 GB, free: 212 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