Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001947/0.001947, allocations: 100.1 kB / 15.88 MB, free: 12 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.002622/0.002622, allocations: 197.7 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.143/2.143, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003428/0.003428, allocations: 290.8 kB / 290.9 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.773/1.773, allocations: 169.2 MB / 0.4984 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003711/0.003712, allocations: 91.75 kB / 0.5951 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.379, allocations: 86.99 MB / 0.6801 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 1.295/1.674, allocations: 165.3 MB / 0.8415 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01683/1.691, allocations: 6.553 MB / 0.8479 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/1.692, allocations: 12.31 kB / 0.8479 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/1.694, allocations: 129.1 kB / 0.848 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005065/1.699, allocations: 0.7903 MB / 0.8488 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/1.701, allocations: 291.3 kB / 0.8491 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003146/1.704, allocations: 1.017 MB / 0.8501 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008301/1.705, allocations: 237 kB / 0.8503 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/1.707, allocations: 0.5123 MB / 0.8508 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008624/1.708, allocations: 286.4 kB / 0.8511 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/1.708, allocations: 13.56 kB / 0.8511 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/1.71, allocations: 394.5 kB / 0.8514 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/1.71, allocations: 100.7 kB / 0.8515 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003331/1.711, allocations: 157 kB / 0.8517 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008982/1.712, allocations: 329.9 kB / 0.852 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/1.712, allocations: 2.781 kB / 0.852 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.545e-06/1.712, allocations: 0 / 0.852 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.171e-05/1.712, allocations: 0 / 0.852 GB, free: 11.95 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.001778/1.713, allocations: 0.6152 MB / 0.8526 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.455e-05/1.714, allocations: 10.84 kB / 0.8526 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005911/1.714, allocations: 55.75 kB / 0.8527 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007721/1.715, allocations: 313.5 kB / 0.853 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/1.715, allocations: 23.81 kB / 0.853 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/1.715, allocations: 24 kB / 0.853 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/1.716, allocations: 317.1 kB / 0.8533 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/1.716, allocations: 3.938 kB / 0.8533 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/1.716, allocations: 10.94 kB / 0.8533 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/1.716, allocations: 8.062 kB / 0.8533 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008464/1.717, allocations: 204.5 kB / 0.8535 GB, free: 10.73 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.00305/1.72, allocations: 1.535 MB / 0.855 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/1.721, allocations: 121.6 kB / 0.8552 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/1.721, allocations: 94.33 kB / 0.8552 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/1.722, allocations: 301.4 kB / 0.8555 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.391e-05/1.723, allocations: 33.53 kB / 0.8556 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/1.723, allocations: 3.938 kB / 0.8556 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.001412/1.724, allocations: 274 kB / 0.8558 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/1.724, allocations: 55.34 kB / 0.8559 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/1.725, allocations: 314 kB / 0.8562 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/1.725, allocations: 28.3 kB / 0.8562 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/1.725, allocations: 183.6 kB / 0.8564 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/1.725, allocations: 44.14 kB / 0.8564 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/1.725, allocations: 36.11 kB / 0.8565 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002987/1.726, allocations: 337.2 kB / 0.8568 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/1.726, allocations: 64.92 kB / 0.8568 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/1.726, allocations: 109.2 kB / 0.8569 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/1.727, allocations: 172.8 kB / 0.8571 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.727, allocations: 0 / 0.8571 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007967/1.728, allocations: 229.3 kB / 0.8573 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/1.728, allocations: 5.281 kB / 0.8573 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.728, allocations: 4.344 kB / 0.8573 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/1.728, allocations: 2.25 kB / 0.8573 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/1.728, allocations: 33.02 kB / 0.8574 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/1.728, allocations: 2.969 kB / 0.8574 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/1.729, allocations: 36.47 kB / 0.8574 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/1.729, allocations: 11.59 kB / 0.8574 GB, free: 7.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002846/1.729, allocations: 152.3 kB / 0.8576 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/1.729, allocations: 32.31 kB / 0.8576 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009551/1.73, allocations: 207.6 kB / 0.8578 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.73, allocations: 2 kB / 0.8578 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.73, allocations: 0 / 0.8578 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.73, allocations: 2.906 kB / 0.8578 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/1.732, allocations: 0.6862 MB / 0.8585 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.732, allocations: 7.047 kB / 0.8585 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/1.732, allocations: 27.8 kB / 0.8585 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.732, allocations: 2.812 kB / 0.8585 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/1.732, allocations: 5 kB / 0.8585 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.237e-05/1.733, allocations: 14.64 kB / 0.8585 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.733, allocations: 0 / 0.8585 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/1.733, allocations: 338.3 kB / 0.8588 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/1.734, allocations: 119.5 kB / 0.859 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/1.734, allocations: 10.72 kB / 0.859 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/1.734, allocations: 18.08 kB / 0.859 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/1.734, allocations: 15.52 kB / 0.859 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/1.734, allocations: 4.688 kB / 0.859 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005053/1.735, allocations: 224.4 kB / 0.8592 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/1.735, allocations: 4 kB / 0.8592 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007807/1.736, allocations: 73.47 kB / 0.8593 GB, free: 5.93 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 (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.0008637/1.736, allocations: 166.5 kB / 0.8595 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007373/1.737, allocations: 148.8 kB / 0.8596 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.737, allocations: 0 / 0.8596 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003397/1.738, allocations: 86.27 kB / 0.8597 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/1.739, allocations: 152.4 kB / 0.8598 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/1.741, allocations: 0.6615 MB / 0.8605 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/1.742, allocations: 0.785 MB / 0.8612 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/1.742, allocations: 22.53 kB / 0.8613 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/1.742, allocations: 0 / 0.8613 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of Templates: time 0.01437/1.756, allocations: 4.56 MB / 0.8657 GB, free: 2.031 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.o] Error 1