Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00101/0.001011, allocations: 102.1 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.0009942/0.0009943, allocations: 176.4 kB / 16.58 MB, free: 6.402 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.481/1.481, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.101/1.101, allocations: 135.3 MB / 427 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 12.66 kB / 0.5076 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 82.32 MB / 0.588 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6786/0.8863, allocations: 177.5 MB / 0.7614 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01869/0.9051, allocations: 13.3 MB / 0.7743 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.9066, allocations: 27.81 kB / 0.7744 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.9082, allocations: 353.7 kB / 0.7747 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004581/0.9127, allocations: 1.366 MB / 0.776 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.915, allocations: 0.6699 MB / 0.7767 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003939/0.919, allocations: 3.041 MB / 0.7797 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.9203, allocations: 0.8161 MB / 0.7805 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003224/0.9236, allocations: 1.206 MB / 0.7816 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.9254, allocations: 0.8797 MB / 0.7825 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.9255, allocations: 48 kB / 0.7825 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.9275, allocations: 0.5729 MB / 0.7831 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005193/0.928, allocations: 438.8 kB / 0.7835 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.9285, allocations: 257.1 kB / 0.7838 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.9302, allocations: 1.36 MB / 0.7851 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.9302, allocations: 0 / 0.7851 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9302, allocations: 0 / 0.7851 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.9303, allocations: 4 kB / 0.7851 GB, free: 3.117 MB / 0.5919 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.002124/0.9324, allocations: 1.237 MB / 0.7863 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.9325, allocations: 16.03 kB / 0.7863 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.9338, allocations: 242.4 kB / 0.7866 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.9354, allocations: 0.8392 MB / 0.7874 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.967e-05/0.9355, allocations: 70 kB / 0.7874 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.9356, allocations: 96 kB / 0.7875 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.9375, allocations: 1.16 MB / 0.7887 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.9375, allocations: 4 kB / 0.7887 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.9376, allocations: 40 kB / 0.7887 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.9376, allocations: 37.98 kB / 0.7887 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.9391, allocations: 0.8976 MB / 0.7896 GB, free: 14.32 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.00635/0.9454, allocations: 5.731 MB / 0.7952 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008823/0.9463, allocations: 0.5588 MB / 0.7958 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/0.9468, allocations: 335.3 kB / 0.7961 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/0.9474, allocations: 327.7 kB / 0.7964 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.9475, allocations: 39 kB / 0.7964 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 2.975e-06/0.9475, allocations: 0 / 0.7964 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51): time 0.001646/0.9491, allocations: 0.822 MB / 0.7972 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.9492, allocations: 81.55 kB / 0.7973 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009456/0.9501, allocations: 0.7471 MB / 0.798 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.9502, allocations: 37.7 kB / 0.7981 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.9506, allocations: 0.5027 MB / 0.7986 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.9508, allocations: 185.3 kB / 0.7987 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.9509, allocations: 20.12 kB / 0.7988 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.951, allocations: 334 kB / 0.7991 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.9514, allocations: 253.8 kB / 0.7993 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/0.9521, allocations: 0.5784 MB / 0.7999 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.9527, allocations: 368.5 kB / 0.8002 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.9527, allocations: 4 kB / 0.8002 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001338/0.954, allocations: 0.8584 MB / 0.8011 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.9541, allocations: 8 kB / 0.8011 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.9541, allocations: 8 kB / 0.8011 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.9541, allocations: 16 kB / 0.8011 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.9547, allocations: 159.7 kB / 0.8013 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.9547, allocations: 20.94 kB / 0.8013 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/0.9557, allocations: 135 kB / 0.8014 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.9557, allocations: 39.98 kB / 0.8015 GB, free: 1.461 MB / 0.6075 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.0005107/0.9562, allocations: 333.5 kB / 0.8018 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.9564, allocations: 86.92 kB / 0.8019 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.9575, allocations: 0.6298 MB / 0.8025 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.9575, allocations: 4 kB / 0.8025 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.9575, allocations: 5.688 kB / 0.8025 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007754/0.9583, allocations: 0.5211 MB / 0.803 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.9609, allocations: 1.773 MB / 0.8047 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.9609, allocations: 8.188 kB / 0.8047 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.9615, allocations: 119.9 kB / 0.8048 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-06/0.9615, allocations: 4 kB / 0.8048 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.9615, allocations: 15.98 kB / 0.8049 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.9615, allocations: 4 kB / 0.8049 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.9615, allocations: 4 kB / 0.8049 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.963, allocations: 1.076 MB / 0.8059 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.9634, allocations: 231.9 kB / 0.8061 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.9635, allocations: 16 kB / 0.8062 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.964, allocations: 64.81 kB / 0.8062 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.9641, allocations: 39.84 kB / 0.8063 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.9641, allocations: 20 kB / 0.8063 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000678/0.9648, allocations: 0.5068 MB / 0.8068 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9648, allocations: 0 / 0.8068 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009736/0.9658, allocations: 299.3 kB / 0.8071 GB, free: 11.56 MB / 0.6231 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.0005335/0.9663, allocations: 214.7 kB / 0.8073 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.9673, allocations: 0.6128 MB / 0.8079 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.9674, allocations: 4.125 kB / 0.8079 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.9678, allocations: 284.7 kB / 0.8081 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.9697, allocations: 440.8 kB / 0.8085 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.9733, allocations: 2.488 MB / 0.811 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008386/0.9741, allocations: 1.126 MB / 0.8121 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.9744, allocations: 87.41 kB / 0.8122 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.9744, allocations: 0 / 0.8122 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of Templates: time 0.02595/1, allocations: 15.02 MB / 0.8268 GB, free: 7.391 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o] Error 1