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.0008812/0.0008813, allocations: 100.5 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.001053/0.001053, allocations: 174.9 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.452/1.452, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7751/0.7751, allocations: 132.3 MB / 424 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 8 kB / 0.504 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4748, allocations: 81.58 MB / 0.5837 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1688/0.6436, allocations: 152.2 MB / 0.7323 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006688/0.6504, allocations: 6.074 MB / 0.7382 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.6507, allocations: 7.938 kB / 0.7382 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.6512, allocations: 119.1 kB / 0.7384 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.6527, allocations: 0.5909 MB / 0.7389 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007705/0.6534, allocations: 266.3 kB / 0.7392 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008029/0.6542, allocations: 0.8616 MB / 0.74 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.6546, allocations: 201.6 kB / 0.7402 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009186/0.6555, allocations: 470.1 kB / 0.7407 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.6559, allocations: 259 kB / 0.7409 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.6559, allocations: 12 kB / 0.7409 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.6564, allocations: 203.5 kB / 0.7411 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.6565, allocations: 95.69 kB / 0.7412 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.6566, allocations: 81.58 kB / 0.7413 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.657, allocations: 323.2 kB / 0.7416 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.535e-05/0.657, allocations: 0 / 0.7416 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.236e-06/0.657, allocations: 0 / 0.7416 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.657, allocations: 7.875 kB / 0.7416 GB, free: 14.46 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.0007378/0.6578, allocations: 0.5585 MB / 0.7421 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.6578, allocations: 8.031 kB / 0.7422 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.6581, allocations: 67.48 kB / 0.7422 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.6585, allocations: 293.4 kB / 0.7425 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.6585, allocations: 20.56 kB / 0.7425 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.6586, allocations: 24 kB / 0.7425 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.6591, allocations: 323.7 kB / 0.7428 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.6591, allocations: 3.953 kB / 0.7429 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.6591, allocations: 15.98 kB / 0.7429 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.6591, allocations: 4 kB / 0.7429 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.6595, allocations: 217.5 kB / 0.7431 GB, free: 12.84 MB / 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.001389/0.6609, allocations: 1.538 MB / 0.7446 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.6612, allocations: 126.5 kB / 0.7447 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.6614, allocations: 96.81 kB / 0.7448 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005595/0.662, allocations: 319.2 kB / 0.7451 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.662, allocations: 38.56 kB / 0.7451 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.662, allocations: 0 / 0.7451 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007003/0.6627, allocations: 285.2 kB / 0.7454 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.6627, allocations: 51.41 kB / 0.7455 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.663, allocations: 312.5 kB / 0.7458 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.6631, allocations: 33.58 kB / 0.7458 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.6632, allocations: 188.1 kB / 0.746 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.6632, allocations: 39.45 kB / 0.746 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.6633, allocations: 4 kB / 0.746 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6634, allocations: 338.8 kB / 0.7463 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.6635, allocations: 55.95 kB / 0.7464 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.6637, allocations: 129 kB / 0.7465 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.6639, allocations: 83.78 kB / 0.7466 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6639, allocations: 0 / 0.7466 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003913/0.6643, allocations: 221.2 kB / 0.7468 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.6643, allocations: 6.031 kB / 0.7468 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6643, allocations: 4 kB / 0.7468 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6644, allocations: 7.938 kB / 0.7468 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.6645, allocations: 39.91 kB / 0.7469 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6646, allocations: 7.984 kB / 0.7469 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.6647, allocations: 39.67 kB / 0.7469 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.6648, allocations: 12 kB / 0.7469 GB, free: 8.637 MB / 0.5762 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.0001353/0.6649, allocations: 149.8 kB / 0.7471 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.665, allocations: 27.67 kB / 0.7471 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.6654, allocations: 224.5 kB / 0.7473 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.6654, allocations: 4 kB / 0.7473 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6654, allocations: 0 / 0.7473 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6654, allocations: 0 / 0.7473 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009292/0.6664, allocations: 0.6912 MB / 0.748 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6664, allocations: 4 kB / 0.748 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.6665, allocations: 36.19 kB / 0.748 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.6665, allocations: 8 kB / 0.748 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.6666, allocations: 0 / 0.748 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.6666, allocations: 4 kB / 0.748 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6666, allocations: 7.938 kB / 0.748 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.667, allocations: 352 kB / 0.7484 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.093e-05/0.6671, allocations: 112.8 kB / 0.7485 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.6671, allocations: 12.06 kB / 0.7485 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.6673, allocations: 19.98 kB / 0.7485 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.6674, allocations: 19.88 kB / 0.7485 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.6674, allocations: 8 kB / 0.7485 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001961/0.6676, allocations: 227 kB / 0.7487 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6676, allocations: 0 / 0.7487 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003654/0.668, allocations: 67.84 kB / 0.7488 GB, free: 6.543 MB / 0.5762 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.0003571/0.6683, allocations: 154.2 kB / 0.749 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.6687, allocations: 159.8 kB / 0.7491 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6687, allocations: 8.312 kB / 0.7491 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.6689, allocations: 87.83 kB / 0.7492 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007785/0.6697, allocations: 145.1 kB / 0.7493 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008329/0.6705, allocations: 0.661 MB / 0.75 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.6709, allocations: 0.7797 MB / 0.7507 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.6709, allocations: 23.44 kB / 0.7508 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.6709, allocations: 3.938 kB / 0.7508 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of Templates: time 0.006579/0.6775, allocations: 4.518 MB / 0.7552 GB, free: 15.99 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++ 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.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