Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008278/0.0008276, allocations: 102.4 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.001098/0.001098, allocations: 174.4 kB / 16.58 MB, free: 6.102 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.575/1.575, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.078/1.078, allocations: 135.3 MB / 427 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 13.17 kB / 0.5076 GB, free: 5.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2117, allocations: 82.3 MB / 0.588 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5785/0.7902, allocations: 152.2 MB / 0.7366 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008397/0.7987, allocations: 6.082 MB / 0.7425 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008243/0.7996, allocations: 9.562 kB / 0.7425 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008535/0.8004, allocations: 121.3 kB / 0.7427 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.8029, allocations: 0.5922 MB / 0.7432 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.804, allocations: 265.2 kB / 0.7435 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.8052, allocations: 0.8526 MB / 0.7443 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004369/0.8056, allocations: 214.2 kB / 0.7445 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.807, allocations: 459.9 kB / 0.745 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.8074, allocations: 263.5 kB / 0.7452 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.8074, allocations: 10.84 kB / 0.7452 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006614/0.8081, allocations: 205.4 kB / 0.7454 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.8082, allocations: 94.02 kB / 0.7455 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.8084, allocations: 87.77 kB / 0.7456 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.8089, allocations: 315.5 kB / 0.7459 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8089, allocations: 3.938 kB / 0.7459 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8089, allocations: 0 / 0.7459 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.8089, allocations: 0 / 0.7459 GB, free: 9.422 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00112/0.81, allocations: 0.5667 MB / 0.7465 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.8101, allocations: 12.22 kB / 0.7465 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/0.8105, allocations: 63.42 kB / 0.7465 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.811, allocations: 298.4 kB / 0.7468 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.811, allocations: 18.25 kB / 0.7468 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.8111, allocations: 27.19 kB / 0.7469 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.8117, allocations: 322.5 kB / 0.7472 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.8117, allocations: 0 / 0.7472 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.8117, allocations: 10.91 kB / 0.7472 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.8118, allocations: 11.89 kB / 0.7472 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.8122, allocations: 212.4 kB / 0.7474 GB, free: 8.238 MB / 0.5606 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.001781/0.814, allocations: 1.53 MB / 0.7489 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.8142, allocations: 131.7 kB / 0.749 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.8144, allocations: 96.08 kB / 0.7491 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006662/0.8151, allocations: 322.6 kB / 0.7494 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.8152, allocations: 30.56 kB / 0.7494 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.8152, allocations: 3.406 kB / 0.7494 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0007268/0.8159, allocations: 283.5 kB / 0.7497 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.816, allocations: 59.34 kB / 0.7498 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.8163, allocations: 312 kB / 0.7501 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.8163, allocations: 32.98 kB / 0.7501 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.8164, allocations: 183.2 kB / 0.7503 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.8165, allocations: 41.58 kB / 0.7503 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.8165, allocations: 0 / 0.7503 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8166, allocations: 337.5 kB / 0.7506 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.8168, allocations: 64.8 kB / 0.7507 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.8169, allocations: 121.4 kB / 0.7508 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.8171, allocations: 77.5 kB / 0.7509 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8171, allocations: 2.5 kB / 0.7509 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003763/0.8175, allocations: 234.2 kB / 0.7511 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.8175, allocations: 10.08 kB / 0.7511 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8175, allocations: 0 / 0.7511 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.8176, allocations: 3.312 kB / 0.7511 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.8177, allocations: 40.08 kB / 0.7512 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.8177, allocations: 0 / 0.7512 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.8179, allocations: 41.05 kB / 0.7512 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.818, allocations: 15.66 kB / 0.7512 GB, free: 5.008 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.8181, allocations: 150.7 kB / 0.7514 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.8182, allocations: 25.97 kB / 0.7514 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.8186, allocations: 220.6 kB / 0.7516 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.8186, allocations: 3.406 kB / 0.7516 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8186, allocations: 3.984 kB / 0.7516 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8186, allocations: 0 / 0.7516 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009457/0.8196, allocations: 0.6969 MB / 0.7523 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.8196, allocations: 4.219 kB / 0.7523 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.8197, allocations: 29.95 kB / 0.7523 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.8198, allocations: 3.688 kB / 0.7523 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.8198, allocations: 6.969 kB / 0.7523 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8198, allocations: 3.938 kB / 0.7523 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8198, allocations: 3.312 kB / 0.7523 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.8202, allocations: 353.9 kB / 0.7527 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.8203, allocations: 113.5 kB / 0.7528 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.8203, allocations: 2.719 kB / 0.7528 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.8205, allocations: 26.44 kB / 0.7528 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.8206, allocations: 16.03 kB / 0.7528 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.8206, allocations: 7.984 kB / 0.7528 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002034/0.8208, allocations: 223 kB / 0.753 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8208, allocations: 0 / 0.753 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003875/0.8212, allocations: 75.83 kB / 0.7531 GB, free: 3.383 MB / 0.5606 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 (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.0003709/0.8216, allocations: 162.1 kB / 0.7533 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.822, allocations: 160.1 kB / 0.7534 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.822, allocations: 0 / 0.7534 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.8221, allocations: 87.81 kB / 0.7535 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007812/0.8229, allocations: 151.3 kB / 0.7536 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008902/0.8238, allocations: 0.6592 MB / 0.7543 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.8242, allocations: 0.7876 MB / 0.7551 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.8243, allocations: 23.44 kB / 0.7551 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.8243, allocations: 4 kB / 0.7551 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of Templates: time 0.006977/0.8312, allocations: 4.509 MB / 0.7595 GB, free: 12.86 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRateCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.o] Error 1