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.0009511/0.0009511, allocations: 101.5 kB / 15.71 MB, free: 460 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.001695/0.001695, allocations: 177.3 kB / 16.58 MB, free: 6.047 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.491/1.491, allocations: 223.3 MB / 240.6 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.7913/0.7913, allocations: 132.3 MB / 424 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 12 kB / 0.504 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5081, allocations: 81.58 MB / 0.5837 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.2237/0.7319, allocations: 177.5 MB / 0.7571 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.7485, allocations: 13.29 MB / 0.77 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.7499, allocations: 35.75 kB / 0.7701 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.7513, allocations: 341.8 kB / 0.7704 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.7554, allocations: 1.376 MB / 0.7717 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.7575, allocations: 0.6562 MB / 0.7724 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003628/0.7612, allocations: 3.056 MB / 0.7754 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.7624, allocations: 0.8085 MB / 0.7762 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002772/0.7652, allocations: 1.21 MB / 0.7773 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.7667, allocations: 0.8874 MB / 0.7782 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.7668, allocations: 48 kB / 0.7782 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.7685, allocations: 0.5574 MB / 0.7788 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.769, allocations: 450.7 kB / 0.7792 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.7693, allocations: 257.1 kB / 0.7795 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.7708, allocations: 1.352 MB / 0.7808 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.7708, allocations: 0 / 0.7808 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7708, allocations: 4 kB / 0.7808 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.7708, allocations: 0 / 0.7808 GB, free: 6.191 MB / 0.6075 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.001939/0.7728, allocations: 1.239 MB / 0.782 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.7728, allocations: 8.031 kB / 0.782 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.7741, allocations: 246.4 kB / 0.7822 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.7756, allocations: 0.8432 MB / 0.7831 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.7757, allocations: 70 kB / 0.7831 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.7758, allocations: 96 kB / 0.7832 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.7776, allocations: 1.169 MB / 0.7844 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.7776, allocations: 7.938 kB / 0.7844 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-05/0.7777, allocations: 40 kB / 0.7844 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-05/0.7778, allocations: 37.94 kB / 0.7845 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.7791, allocations: 0.8976 MB / 0.7853 GB, free: 1.375 MB / 0.6075 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.005459/0.7846, allocations: 5.731 MB / 0.7909 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/0.7854, allocations: 0.5616 MB / 0.7915 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.7859, allocations: 327.4 kB / 0.7918 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005765/0.7865, allocations: 327.7 kB / 0.7921 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.7865, allocations: 43 kB / 0.7921 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.284e-06/0.7865, allocations: 4 kB / 0.7921 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.001492/0.788, allocations: 0.8181 MB / 0.7929 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.7881, allocations: 81.55 kB / 0.793 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008929/0.789, allocations: 0.7431 MB / 0.7937 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.55e-05/0.789, allocations: 37.7 kB / 0.7938 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.7894, allocations: 0.5065 MB / 0.7943 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.7896, allocations: 197.4 kB / 0.7945 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.7897, allocations: 16 kB / 0.7945 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.7898, allocations: 334 kB / 0.7948 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.7902, allocations: 249.8 kB / 0.795 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.7908, allocations: 0.5784 MB / 0.7956 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.7913, allocations: 360.5 kB / 0.7959 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7913, allocations: 0 / 0.7959 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001216/0.7925, allocations: 0.8622 MB / 0.7968 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.7925, allocations: 8 kB / 0.7968 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.7925, allocations: 12.09 kB / 0.7968 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.7926, allocations: 16 kB / 0.7968 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.7931, allocations: 159.7 kB / 0.797 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.7932, allocations: 15.94 kB / 0.797 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/0.794, allocations: 136.1 kB / 0.7971 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.7941, allocations: 36 kB / 0.7972 GB, free: 4.516 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * 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 prepare postOptimizeDAE: time 0.0004295/0.7945, allocations: 337.5 kB / 0.7975 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.7946, allocations: 86.92 kB / 0.7976 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009793/0.7956, allocations: 0.6219 MB / 0.7982 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.7956, allocations: 4 kB / 0.7982 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7957, allocations: 0 / 0.7982 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006939/0.7964, allocations: 0.5289 MB / 0.7987 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.7988, allocations: 1.777 MB / 0.8004 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.7988, allocations: 8.25 kB / 0.8004 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/0.7993, allocations: 107.9 kB / 0.8005 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.7993, allocations: 8 kB / 0.8005 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.7993, allocations: 12 kB / 0.8005 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.7993, allocations: 4 kB / 0.8006 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.7994, allocations: 7.938 kB / 0.8006 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.8007, allocations: 1.087 MB / 0.8016 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.801, allocations: 231.9 kB / 0.8018 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.8011, allocations: 15.98 kB / 0.8019 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.8016, allocations: 61.05 kB / 0.8019 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.8017, allocations: 35.91 kB / 0.802 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.8017, allocations: 19.98 kB / 0.802 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006057/0.8023, allocations: 0.5107 MB / 0.8025 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8024, allocations: 0 / 0.8025 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008626/0.8032, allocations: 303.2 kB / 0.8028 GB, free: 14.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * 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.0004881/0.8037, allocations: 221.8 kB / 0.803 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000932/0.8047, allocations: 0.616 MB / 0.8036 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.8047, allocations: 4.062 kB / 0.8036 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.805, allocations: 277.5 kB / 0.8038 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.8068, allocations: 443 kB / 0.8043 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.8099, allocations: 2.483 MB / 0.8067 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.8106, allocations: 1.122 MB / 0.8078 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.8108, allocations: 87.41 kB / 0.8079 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of SimCode: time 1.613e-06/0.8108, allocations: 0 / 0.8079 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of Templates: time 0.3943/1.205, allocations: 15 MB / 0.8225 GB, free: 213.9 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++ 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 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