Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008706/0.0008705, allocations: 99.91 kB / 15.71 MB, free: 452 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.001218/0.001218, allocations: 178 kB / 16.58 MB, free: 6.422 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.416/1.416, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7635/0.7635, allocations: 132.3 MB / 424 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 8.75 kB / 0.504 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5515, allocations: 81.57 MB / 0.5837 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2037/0.7553, allocations: 146.5 MB / 0.7267 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006168/0.7615, allocations: 4.219 MB / 0.7309 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.762, allocations: 7.938 kB / 0.7309 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005504/0.7626, allocations: 91.36 kB / 0.731 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.7636, allocations: 254.8 kB / 0.7312 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.7646, allocations: 226.1 kB / 0.7314 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009847/0.7656, allocations: 0.6819 MB / 0.7321 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.766, allocations: 157.2 kB / 0.7322 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.7672, allocations: 354.5 kB / 0.7326 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.7676, allocations: 187.2 kB / 0.7328 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.7677, allocations: 8 kB / 0.7328 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.768, allocations: 71.92 kB / 0.7328 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.7681, allocations: 79.78 kB / 0.7329 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.7682, allocations: 69.58 kB / 0.733 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.7684, allocations: 207.5 kB / 0.7332 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.7685, allocations: 0 / 0.7332 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7685, allocations: 0 / 0.7332 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.7685, allocations: 0 / 0.7332 GB, free: 7.082 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008111/0.7693, allocations: 0.5059 MB / 0.7337 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.7693, allocations: 11.97 kB / 0.7337 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.7694, allocations: 23.72 kB / 0.7337 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.7698, allocations: 272.1 kB / 0.734 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.7698, allocations: 12 kB / 0.734 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.7699, allocations: 23.91 kB / 0.734 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.7703, allocations: 262.1 kB / 0.7342 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.7704, allocations: 4 kB / 0.7342 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.7704, allocations: 7.984 kB / 0.7343 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.7704, allocations: 4 kB / 0.7343 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.7707, allocations: 163.8 kB / 0.7344 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.7721, allocations: 1.371 MB / 0.7358 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.7724, allocations: 187.7 kB / 0.7359 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.7726, allocations: 101.1 kB / 0.736 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003463/0.773, allocations: 137 kB / 0.7362 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.773, allocations: 42.5 kB / 0.7362 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.773, allocations: 0 / 0.7362 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006084/0.7736, allocations: 225.9 kB / 0.7364 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.7738, allocations: 187.9 kB / 0.7366 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.7741, allocations: 283 kB / 0.7369 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.7741, allocations: 29.7 kB / 0.7369 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.7742, allocations: 147.8 kB / 0.737 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.7743, allocations: 31.47 kB / 0.7371 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.7743, allocations: 8 kB / 0.7371 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7744, allocations: 334.8 kB / 0.7374 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.7746, allocations: 51.95 kB / 0.7374 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.7748, allocations: 127.6 kB / 0.7376 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.7749, allocations: 63.97 kB / 0.7376 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7749, allocations: 0 / 0.7376 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000351/0.7753, allocations: 193.4 kB / 0.7378 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.7753, allocations: 15.95 kB / 0.7378 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7753, allocations: 3.938 kB / 0.7378 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7754, allocations: 4 kB / 0.7378 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.7755, allocations: 39.92 kB / 0.7379 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.7755, allocations: 3.984 kB / 0.7379 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.7757, allocations: 31.73 kB / 0.7379 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.7757, allocations: 16 kB / 0.7379 GB, free: 1.793 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001516/0.7759, allocations: 137.8 kB / 0.738 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.776, allocations: 23.72 kB / 0.7381 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.7764, allocations: 146.9 kB / 0.7382 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.7764, allocations: 15.92 kB / 0.7382 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7764, allocations: 0 / 0.7382 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.7764, allocations: 4 kB / 0.7382 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009013/0.7773, allocations: 0.7653 MB / 0.739 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7773, allocations: 8.094 kB / 0.739 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.7775, allocations: 27.97 kB / 0.739 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7775, allocations: 4 kB / 0.739 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.7775, allocations: 4 kB / 0.739 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.7775, allocations: 192 / 0.739 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7775, allocations: 4 kB / 0.739 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.7781, allocations: 363.3 kB / 0.7394 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.7782, allocations: 108.8 kB / 0.7395 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.7782, allocations: 4 kB / 0.7395 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.7783, allocations: 15.98 kB / 0.7395 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.7784, allocations: 7.984 kB / 0.7395 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.7784, allocations: 4.062 kB / 0.7395 GB, free: 24 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002162/0.7786, allocations: 209.9 kB / 0.7397 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7786, allocations: 0 / 0.7397 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003491/0.779, allocations: 55.94 kB / 0.7398 GB, free: 15.77 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003691/0.7794, allocations: 140.6 kB / 0.7399 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.7797, allocations: 131.8 kB / 0.74 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.7797, allocations: 0 / 0.74 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.7799, allocations: 76.52 kB / 0.7401 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.7806, allocations: 125.3 kB / 0.7402 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.7815, allocations: 0.5904 MB / 0.7408 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.7819, allocations: 0.7521 MB / 0.7415 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.782, allocations: 23.44 kB / 0.7415 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.782, allocations: 4 kB / 0.7415 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of Templates: time 0.007094/0.7891, allocations: 3.755 MB / 0.7452 GB, free: 10.16 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpyCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpyCalcHelperMain.o] Error 1