Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002022/0.002022, 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.002691/0.002691, allocations: 197.3 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.523/2.523, allocations: 222.9 MB / 240.4 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004103/0.004103, allocations: 287 kB / 290.9 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.905/1.905, allocations: 169.2 MB / 0.4983 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003265/0.003265, allocations: 100.4 kB / 0.5951 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4334, allocations: 86.98 MB / 0.6801 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 1.219/1.652, allocations: 159.1 MB / 0.8354 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01095/1.663, allocations: 4.555 MB / 0.8399 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/1.665, allocations: 9.844 kB / 0.8399 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007197/1.666, allocations: 95.34 kB / 0.84 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/1.668, allocations: 309 kB / 0.8403 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/1.669, allocations: 246.2 kB / 0.8405 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001727/1.671, allocations: 0.7951 MB / 0.8413 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005137/1.671, allocations: 176.3 kB / 0.8415 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/1.673, allocations: 427.7 kB / 0.8419 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/1.673, allocations: 202.3 kB / 0.8421 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.709e-05/1.674, allocations: 11.06 kB / 0.8421 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/1.674, allocations: 68.98 kB / 0.8421 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/1.674, allocations: 81.22 kB / 0.8422 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/1.674, allocations: 110.8 kB / 0.8423 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004067/1.675, allocations: 211.6 kB / 0.8425 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.675, allocations: 0 / 0.8425 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/1.675, allocations: 0 / 0.8425 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.675, allocations: 1.375 kB / 0.8425 GB, free: 15.12 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00132/1.676, allocations: 0.5347 MB / 0.8431 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.676, allocations: 9.625 kB / 0.8431 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/1.676, allocations: 29.41 kB / 0.8431 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/1.677, allocations: 278.7 kB / 0.8434 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/1.677, allocations: 15.56 kB / 0.8434 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/1.677, allocations: 22.88 kB / 0.8434 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/1.678, allocations: 270 kB / 0.8437 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/1.678, allocations: 0 / 0.8437 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/1.678, allocations: 13.22 kB / 0.8437 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/1.678, allocations: 6.281 kB / 0.8437 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/1.678, allocations: 145.3 kB / 0.8438 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/1.68, allocations: 1.373 MB / 0.8451 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/1.681, allocations: 176.8 kB / 0.8453 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/1.681, allocations: 101.5 kB / 0.8454 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005442/1.682, allocations: 115.6 kB / 0.8455 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.404e-05/1.682, allocations: 47.84 kB / 0.8456 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 2.966e-06/1.682, allocations: 0 / 0.8456 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.000972/1.683, allocations: 203.1 kB / 0.8458 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/1.683, allocations: 194.6 kB / 0.8459 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/1.684, allocations: 284.8 kB / 0.8462 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/1.684, allocations: 31.08 kB / 0.8462 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/1.684, allocations: 148.1 kB / 0.8464 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/1.684, allocations: 35.58 kB / 0.8464 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/1.684, allocations: 39.45 kB / 0.8465 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002233/1.684, allocations: 332.3 kB / 0.8468 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/1.685, allocations: 48.72 kB / 0.8468 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/1.685, allocations: 118.1 kB / 0.8469 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/1.685, allocations: 156.4 kB / 0.8471 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.685, allocations: 0 / 0.8471 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006299/1.686, allocations: 195.4 kB / 0.8473 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/1.686, allocations: 8.844 kB / 0.8473 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.686, allocations: 5.219 kB / 0.8473 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/1.686, allocations: 2.875 kB / 0.8473 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/1.686, allocations: 31.95 kB / 0.8473 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/1.686, allocations: 6.531 kB / 0.8473 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/1.687, allocations: 26.98 kB / 0.8474 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/1.687, allocations: 7.562 kB / 0.8474 GB, free: 11.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0002737/1.687, allocations: 147.8 kB / 0.8475 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/1.687, allocations: 27.62 kB / 0.8475 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/1.688, allocations: 138.3 kB / 0.8477 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/1.688, allocations: 3.281 kB / 0.8477 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.688, allocations: 0.7188 kB / 0.8477 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.688, allocations: 1.938 kB / 0.8477 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/1.689, allocations: 0.7728 MB / 0.8484 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.689, allocations: 5.562 kB / 0.8484 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/1.69, allocations: 25.92 kB / 0.8484 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/1.69, allocations: 1.812 kB / 0.8485 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/1.69, allocations: 2.656 kB / 0.8485 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.69, allocations: 2.719 kB / 0.8485 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.69, allocations: 1.344 kB / 0.8485 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008334/1.691, allocations: 346.6 kB / 0.8488 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/1.691, allocations: 115.5 kB / 0.8489 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/1.691, allocations: 2.688 kB / 0.8489 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/1.691, allocations: 10.38 kB / 0.8489 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/1.691, allocations: 17.27 kB / 0.8489 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/1.691, allocations: 2.656 kB / 0.8489 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003457/1.691, allocations: 210.4 kB / 0.8491 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/1.692, allocations: 0 / 0.8491 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005689/1.692, allocations: 61.08 kB / 0.8492 GB, free: 9.523 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0005844/1.693, allocations: 141.1 kB / 0.8493 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000561/1.693, allocations: 120.4 kB / 0.8494 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.693, allocations: 2.438 kB / 0.8494 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/1.694, allocations: 64.34 kB / 0.8495 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/1.695, allocations: 120.8 kB / 0.8496 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/1.696, allocations: 0.5688 MB / 0.8502 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/1.697, allocations: 0.7579 MB / 0.8509 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/1.697, allocations: 23.47 kB / 0.8509 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/1.697, allocations: 3.938 kB / 0.8509 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of Templates: time 0.01375/1.711, allocations: 3.795 MB / 0.8546 GB, free: 6.152 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpyCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpyCalcHelperMain.o] Error 1