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.0008902/0.0008902, allocations: 91.92 kB / 16.02 MB, free: 80 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.001047/0.001048, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.33/1.33, allocations: 223.2 MB / 241 MB, free: 5.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001693/0.001693, allocations: 282.8 kB / 292.3 MB, free: 1.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9591/0.9591, allocations: 169.5 MB / 0.501 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004584, allocations: 15.75 kB / 0.5993 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1758, allocations: 88.54 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4993/0.6751, allocations: 157 MB / 0.8391 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005206/0.6804, allocations: 4.494 MB / 0.8435 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.6807, allocations: 10.09 kB / 0.8435 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.6811, allocations: 99.8 kB / 0.8436 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007874/0.6819, allocations: 313.1 kB / 0.8439 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.6826, allocations: 245.1 kB / 0.8441 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.6833, allocations: 0.7908 MB / 0.8449 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.6836, allocations: 165.8 kB / 0.8451 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009275/0.6845, allocations: 416.7 kB / 0.8455 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.6848, allocations: 202.3 kB / 0.8457 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.6848, allocations: 9.781 kB / 0.8457 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.685, allocations: 73.03 kB / 0.8457 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.6852, allocations: 75.91 kB / 0.8458 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.6853, allocations: 134.9 kB / 0.8459 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.6856, allocations: 205.1 kB / 0.8461 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6856, allocations: 0 / 0.8461 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6856, allocations: 0 / 0.8461 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.6856, allocations: 3.938 kB / 0.8461 GB, free: 2.758 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008324/0.6865, allocations: 0.4986 MB / 0.8466 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.6865, allocations: 13.69 kB / 0.8466 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.6866, allocations: 31.72 kB / 0.8467 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.6869, allocations: 277.5 kB / 0.8469 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.687, allocations: 10.25 kB / 0.847 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.687, allocations: 22.53 kB / 0.847 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.6875, allocations: 269.7 kB / 0.8472 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.6875, allocations: 7.938 kB / 0.8472 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.6875, allocations: 10.84 kB / 0.8472 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.6876, allocations: 5 kB / 0.8473 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.6879, allocations: 158.5 kB / 0.8474 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.6892, allocations: 1.379 MB / 0.8488 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.6895, allocations: 188.5 kB / 0.8489 GB, free: 176 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.6897, allocations: 103.9 kB / 0.849 GB, free: 92 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003794/0.6901, allocations: 132.8 kB / 0.8492 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.6902, allocations: 38.56 kB / 0.8492 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.6902, allocations: 2.562 kB / 0.8492 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006565/0.6908, allocations: 226.9 kB / 0.8494 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.691, allocations: 182.8 kB / 0.8496 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.6913, allocations: 292.8 kB / 0.8499 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.6913, allocations: 25.7 kB / 0.8499 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.6914, allocations: 153.4 kB / 0.85 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.6915, allocations: 41.02 kB / 0.8501 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.6915, allocations: 16.66 kB / 0.8501 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.6917, allocations: 334.8 kB / 0.8504 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.6918, allocations: 51.55 kB / 0.8505 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.692, allocations: 122.5 kB / 0.8506 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.6923, allocations: 176.8 kB / 0.8507 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6923, allocations: 2.906 kB / 0.8507 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003698/0.6927, allocations: 194.1 kB / 0.8509 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.6928, allocations: 13.75 kB / 0.8509 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6928, allocations: 2.906 kB / 0.8509 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6928, allocations: 2.125 kB / 0.851 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.6929, allocations: 35.62 kB / 0.851 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.693, allocations: 3.625 kB / 0.851 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.6931, allocations: 37.42 kB / 0.851 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.6932, allocations: 11.22 kB / 0.851 GB, free: 14.44 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.0001365/0.6933, allocations: 147.1 kB / 0.8512 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.6934, allocations: 29.44 kB / 0.8512 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.6938, allocations: 146 kB / 0.8513 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6938, allocations: 9.125 kB / 0.8514 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6938, allocations: 0 / 0.8514 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6938, allocations: 2.906 kB / 0.8514 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008079/0.6946, allocations: 0.7664 MB / 0.8521 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6946, allocations: 3.062 kB / 0.8521 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.6948, allocations: 32.55 kB / 0.8521 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.6948, allocations: 3.031 kB / 0.8521 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.6948, allocations: 2.938 kB / 0.8521 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6948, allocations: 0 / 0.8521 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6948, allocations: 3.25 kB / 0.8521 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.6954, allocations: 359.9 kB / 0.8525 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.6955, allocations: 107.5 kB / 0.8526 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.6955, allocations: 2.906 kB / 0.8526 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.6956, allocations: 15.98 kB / 0.8526 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.6957, allocations: 15.11 kB / 0.8526 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.6957, allocations: 4.656 kB / 0.8526 GB, free: 13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001665/0.6959, allocations: 212.4 kB / 0.8528 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6959, allocations: 2.938 kB / 0.8528 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003225/0.6962, allocations: 52.38 kB / 0.8529 GB, free: 12.85 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.0003328/0.6965, allocations: 142.8 kB / 0.853 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.6969, allocations: 133.1 kB / 0.8531 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6969, allocations: 0 / 0.8531 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.697, allocations: 70.73 kB / 0.8532 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/0.6978, allocations: 125.1 kB / 0.8533 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.6987, allocations: 0.6092 MB / 0.8539 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.6991, allocations: 0.7538 MB / 0.8547 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.6991, allocations: 21.25 kB / 0.8547 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.6991, allocations: 0 / 0.8547 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of Templates: time 0.00623/0.7054, allocations: 3.758 MB / 0.8584 GB, free: 9.477 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