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.001004/0.001004, 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.001104/0.001104, allocations: 195.1 kB / 16.79 MB, free: 6.812 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.327/1.327, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7688/0.7688, allocations: 132.2 MB / 422.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 63.48 kB / 0.5017 GB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4391, allocations: 80.2 MB / 0.58 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1875/0.6267, allocations: 165.3 MB / 0.7415 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00701/0.6337, allocations: 6.549 MB / 0.7478 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.6341, allocations: 15.88 kB / 0.7479 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.6346, allocations: 135.2 kB / 0.748 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.6365, allocations: 0.7937 MB / 0.7488 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.6374, allocations: 282.5 kB / 0.749 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009429/0.6383, allocations: 1.021 MB / 0.75 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.6387, allocations: 235.6 kB / 0.7503 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009821/0.6397, allocations: 0.5097 MB / 0.7508 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.64, allocations: 282.9 kB / 0.751 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.6401, allocations: 16 kB / 0.751 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007005/0.6408, allocations: 403 kB / 0.7514 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.6409, allocations: 95.72 kB / 0.7515 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.6411, allocations: 163.1 kB / 0.7517 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.6415, allocations: 323.3 kB / 0.752 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6415, allocations: 0 / 0.752 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6416, allocations: 0 / 0.752 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.6416, allocations: 0 / 0.752 GB, free: 1.082 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.0009653/0.6425, allocations: 0.6195 MB / 0.7526 GB, free: 424 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.6426, allocations: 8.031 kB / 0.7526 GB, free: 416 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/0.643, allocations: 67.38 kB / 0.7527 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.6434, allocations: 313.2 kB / 0.753 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.6434, allocations: 16.56 kB / 0.753 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.6435, allocations: 28 kB / 0.753 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.644, allocations: 319.6 kB / 0.7533 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.6441, allocations: 0 / 0.7533 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.6441, allocations: 12 kB / 0.7533 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.6441, allocations: 15.92 kB / 0.7533 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.6445, allocations: 201.5 kB / 0.7535 GB, free: 15.39 MB / 0.5919 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.001533/0.6461, allocations: 1.53 MB / 0.755 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.6464, allocations: 122.5 kB / 0.7551 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.6465, allocations: 88.81 kB / 0.7552 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/0.6472, allocations: 303.5 kB / 0.7555 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.6473, allocations: 34.56 kB / 0.7555 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.6473, allocations: 0 / 0.7555 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007911/0.6481, allocations: 279.9 kB / 0.7558 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.6481, allocations: 55.41 kB / 0.7559 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.6485, allocations: 308.5 kB / 0.7562 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.6485, allocations: 29.7 kB / 0.7562 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.6486, allocations: 180.1 kB / 0.7564 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.6487, allocations: 47.38 kB / 0.7564 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.6488, allocations: 37.62 kB / 0.7564 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6489, allocations: 354.7 kB / 0.7568 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.6491, allocations: 55.95 kB / 0.7568 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.6493, allocations: 113.1 kB / 0.7569 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.6496, allocations: 179.6 kB / 0.7571 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6496, allocations: 0 / 0.7571 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004045/0.65, allocations: 213.2 kB / 0.7573 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6501, allocations: 4 kB / 0.7573 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6501, allocations: 3.984 kB / 0.7573 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.6501, allocations: 7.938 kB / 0.7573 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.6503, allocations: 35.98 kB / 0.7574 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.6503, allocations: 4 kB / 0.7574 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.6505, allocations: 35.89 kB / 0.7574 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.6505, allocations: 8 kB / 0.7574 GB, free: 11.11 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.0001556/0.6507, allocations: 157.7 kB / 0.7576 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.6507, allocations: 27.62 kB / 0.7576 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.6512, allocations: 204.3 kB / 0.7578 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6512, allocations: 0 / 0.7578 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6512, allocations: 4 kB / 0.7578 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6512, allocations: 3.984 kB / 0.7578 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009822/0.6522, allocations: 0.6873 MB / 0.7585 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6522, allocations: 3.938 kB / 0.7585 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.6524, allocations: 27.98 kB / 0.7585 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.6524, allocations: 3.938 kB / 0.7585 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.6524, allocations: 4 kB / 0.7585 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.567e-06/0.6524, allocations: 7.938 kB / 0.7585 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6524, allocations: 0 / 0.7585 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.6529, allocations: 341.2 kB / 0.7588 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.653, allocations: 112.8 kB / 0.7589 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.653, allocations: 7.938 kB / 0.7589 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.6532, allocations: 27.83 kB / 0.759 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.6533, allocations: 7.984 kB / 0.759 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.6533, allocations: 4 kB / 0.759 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002135/0.6535, allocations: 231 kB / 0.7592 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6535, allocations: 0 / 0.7592 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003526/0.6539, allocations: 71.91 kB / 0.7593 GB, free: 9.047 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.0003889/0.6543, allocations: 170.7 kB / 0.7594 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.6547, allocations: 147.8 kB / 0.7596 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6547, allocations: 0 / 0.7596 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.6548, allocations: 88.56 kB / 0.7597 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.6556, allocations: 140.4 kB / 0.7598 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008652/0.6565, allocations: 0.6689 MB / 0.7604 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.6569, allocations: 0.7797 MB / 0.7612 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.6569, allocations: 27.44 kB / 0.7612 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.6569, allocations: 0 / 0.7612 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of Templates: time 0.006417/0.6634, allocations: 4.529 MB / 0.7657 GB, free: 2.492 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