Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007851/0.0007851, allocations: 92.55 kB / 16.02 MB, free: 80 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.0008973/0.0008975, allocations: 174.9 kB / 16.92 MB, free: 6.652 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.322/1.322, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7369/0.7369, allocations: 132.3 MB / 424.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003943, allocations: 12 kB / 0.5046 GB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4331, allocations: 81.57 MB / 0.5843 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1821/0.6153, allocations: 163.1 MB / 0.7436 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007014/0.6223, allocations: 6.464 MB / 0.7499 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004558/0.6228, allocations: 11.94 kB / 0.7499 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.6234, allocations: 131.1 kB / 0.7501 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.6256, allocations: 0.7821 MB / 0.7508 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009209/0.6265, allocations: 298 kB / 0.7511 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001052/0.6276, allocations: 1.014 MB / 0.7521 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.628, allocations: 229.9 kB / 0.7523 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.629, allocations: 0.502 MB / 0.7528 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.6294, allocations: 270.9 kB / 0.7531 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.6294, allocations: 20 kB / 0.7531 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.6301, allocations: 395 kB / 0.7535 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.6303, allocations: 95.7 kB / 0.7535 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.6304, allocations: 176.9 kB / 0.7537 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.6308, allocations: 323.2 kB / 0.754 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6308, allocations: 0 / 0.754 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.624e-06/0.6308, allocations: 0 / 0.754 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.6308, allocations: 0 / 0.754 GB, free: 2.098 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000808/0.6317, allocations: 0.5649 MB / 0.7546 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.6317, allocations: 12.03 kB / 0.7546 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003173/0.632, allocations: 63.44 kB / 0.7546 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.6324, allocations: 305.3 kB / 0.7549 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.6324, allocations: 20.56 kB / 0.755 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.6325, allocations: 27.94 kB / 0.755 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.633, allocations: 327.7 kB / 0.7553 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.633, allocations: 0 / 0.7553 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.6331, allocations: 12 kB / 0.7553 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.6331, allocations: 7.938 kB / 0.7553 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.6335, allocations: 217.5 kB / 0.7555 GB, free: 456 kB / 0.5762 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.001441/0.635, allocations: 1.546 MB / 0.757 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.6352, allocations: 122.5 kB / 0.7572 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.6354, allocations: 96.8 kB / 0.7572 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005938/0.636, allocations: 311.2 kB / 0.7575 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.6361, allocations: 34.56 kB / 0.7576 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.6361, allocations: 0 / 0.7576 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007298/0.6368, allocations: 293.4 kB / 0.7579 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.6368, allocations: 55.41 kB / 0.7579 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.6371, allocations: 308.5 kB / 0.7582 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.6372, allocations: 33.7 kB / 0.7582 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.6373, allocations: 184 kB / 0.7584 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.6374, allocations: 43.44 kB / 0.7585 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.6374, allocations: 21.7 kB / 0.7585 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6375, allocations: 346.8 kB / 0.7588 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.6377, allocations: 63.95 kB / 0.7589 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.6379, allocations: 121 kB / 0.759 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.6382, allocations: 188 kB / 0.7592 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6383, allocations: 4 kB / 0.7592 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004047/0.6387, allocations: 221.1 kB / 0.7594 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6387, allocations: 10.33 kB / 0.7594 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.6387, allocations: 4.156 kB / 0.7594 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.6387, allocations: 4 kB / 0.7594 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.6389, allocations: 39.98 kB / 0.7594 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.6389, allocations: 3.938 kB / 0.7594 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.6391, allocations: 35.67 kB / 0.7595 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.6392, allocations: 19.98 kB / 0.7595 GB, free: 12.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001427/0.6393, allocations: 149.8 kB / 0.7596 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.6394, allocations: 27.72 kB / 0.7597 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.6398, allocations: 218.9 kB / 0.7599 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6398, allocations: 4 kB / 0.7599 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.6398, allocations: 3.984 kB / 0.7599 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6398, allocations: 48 / 0.7599 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009378/0.6408, allocations: 0.699 MB / 0.7606 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6408, allocations: 4 kB / 0.7606 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.6409, allocations: 31.92 kB / 0.7606 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.641, allocations: 4.156 kB / 0.7606 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.641, allocations: 8 kB / 0.7606 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-06/0.641, allocations: 4 kB / 0.7606 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.641, allocations: 3.938 kB / 0.7606 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.6414, allocations: 341.1 kB / 0.7609 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.6415, allocations: 124.7 kB / 0.7611 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.6416, allocations: 8 kB / 0.7611 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.6418, allocations: 27.91 kB / 0.7611 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.6418, allocations: 4 kB / 0.7611 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.6418, allocations: 11.98 kB / 0.7611 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002054/0.642, allocations: 219.1 kB / 0.7613 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.642, allocations: 4 kB / 0.7613 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003699/0.6424, allocations: 71.91 kB / 0.7614 GB, free: 9.996 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0003661/0.6428, allocations: 153.6 kB / 0.7615 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.6432, allocations: 166.7 kB / 0.7617 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6432, allocations: 320 / 0.7617 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.6434, allocations: 95.88 kB / 0.7618 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.6443, allocations: 145.3 kB / 0.7619 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009116/0.6453, allocations: 0.6824 MB / 0.7626 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.6456, allocations: 0.7836 MB / 0.7633 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.6457, allocations: 27.38 kB / 0.7634 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6457, allocations: 0 / 0.7634 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of Templates: time 0.006766/0.6525, allocations: 4.492 MB / 0.7678 GB, free: 3.434 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRateCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.o] Error 1