Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000829/0.0008288, allocations: 102 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.0009841/0.0009843, allocations: 176.8 kB / 16.58 MB, free: 6.082 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.49/1.49, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.696/2.696, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 8 kB / 0.8717 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.8212, allocations: 153.7 MB / 1.022 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1659/0.9872, allocations: 134.1 MB / 1.153 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001722/0.9875, allocations: 47.89 kB / 1.153 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.9875, allocations: 0 / 1.153 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.9877, allocations: 3.984 kB / 1.153 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.927e-05/0.9878, allocations: 7.938 kB / 1.153 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.9883, allocations: 87.73 kB / 1.153 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.9884, allocations: 47.83 kB / 1.153 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.424e-05/0.9885, allocations: 4 kB / 1.153 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.236e-05/0.9886, allocations: 15.97 kB / 1.153 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.9887, allocations: 11.94 kB / 1.153 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.9887, allocations: 0 / 1.153 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.989, allocations: 51.81 kB / 1.153 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.989, allocations: 4 kB / 1.153 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.989, allocations: 29.7 kB / 1.153 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.9892, allocations: 41.94 kB / 1.153 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.9892, allocations: 0 / 1.153 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.205e-06/0.9892, allocations: 3.938 kB / 1.153 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.9892, allocations: 0 / 1.153 GB, free: 10.34 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004994/0.9897, allocations: 331.3 kB / 1.153 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.9898, allocations: 15.92 kB / 1.153 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.9901, allocations: 15.98 kB / 1.153 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.9902, allocations: 171 kB / 1.153 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/0.9903, allocations: 29.7 kB / 1.154 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.9903, allocations: 0 / 1.154 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.9905, allocations: 49.67 kB / 1.154 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9905, allocations: 0 / 1.154 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.9906, allocations: 7.922 kB / 1.154 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.9906, allocations: 7.984 kB / 1.154 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/0.9906, allocations: 15.98 kB / 1.154 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.9911, allocations: 260.8 kB / 1.154 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.951e-05/0.9912, allocations: 18.58 kB / 1.154 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.9913, allocations: 4.859 kB / 1.154 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.9913, allocations: 48 / 1.154 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.9913, allocations: 34.61 kB / 1.154 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.9913, allocations: 4 kB / 1.154 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001594/0.9915, allocations: 45.55 kB / 1.154 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.9915, allocations: 51.41 kB / 1.154 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.9916, allocations: 109.8 kB / 1.154 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.9917, allocations: 25.7 kB / 1.154 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.9917, allocations: 95.98 kB / 1.154 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.9918, allocations: 3.906 kB / 1.154 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.9918, allocations: 0 / 1.154 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.992, allocations: 318.9 kB / 1.155 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.992, allocations: 11.98 kB / 1.155 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.27e-05/0.9921, allocations: 18.58 kB / 1.155 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.9921, allocations: 8 kB / 1.155 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9921, allocations: 0 / 1.155 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.345e-05/0.9922, allocations: 53.62 kB / 1.155 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9922, allocations: 12.09 kB / 1.155 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.9922, allocations: 0 / 1.155 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.9923, allocations: 0 / 1.155 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.9923, allocations: 15.92 kB / 1.155 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9924, allocations: 0 / 1.155 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.9924, allocations: 0 / 1.155 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.9924, allocations: 4 kB / 1.155 GB, free: 8.398 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001202/0.9925, allocations: 113.8 kB / 1.155 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.9926, allocations: 4 kB / 1.155 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.9926, allocations: 7.125 kB / 1.155 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.9926, allocations: 3.938 kB / 1.155 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9926, allocations: 0 / 1.155 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9926, allocations: 3.938 kB / 1.155 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.993, allocations: 354.6 kB / 1.155 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.993, allocations: 0 / 1.155 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.993, allocations: 4 kB / 1.155 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.993, allocations: 0 / 1.155 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.993, allocations: 0 / 1.155 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.993, allocations: 4.031 kB / 1.155 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.993, allocations: 0 / 1.155 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.496e-05/0.9931, allocations: 65.08 kB / 1.155 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.9932, allocations: 77.11 kB / 1.155 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.9932, allocations: 0 / 1.155 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.9933, allocations: 4 kB / 1.155 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.9933, allocations: 3.984 kB / 1.155 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.9933, allocations: 8.031 kB / 1.155 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.9934, allocations: 83.28 kB / 1.155 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9934, allocations: 3.938 kB / 1.155 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001954/0.9936, allocations: 7.953 kB / 1.155 GB, free: 7.559 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001313/0.9937, allocations: 99.25 kB / 1.155 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.989e-05/0.9938, allocations: 15.98 kB / 1.155 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9938, allocations: 192 / 1.155 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-06/0.9939, allocations: 4 kB / 1.155 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.9941, allocations: 6.531 kB / 1.155 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.9945, allocations: 146.3 kB / 1.156 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.9949, allocations: 0.677 MB / 1.156 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.995, allocations: 11.44 kB / 1.156 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of SimCode: time 2.325e-06/0.995, allocations: 0 / 1.156 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of Templates: time 0.002005/0.997, allocations: 0.5581 MB / 1.157 GB, free: 5.98 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversionCalcHelperMain.o] Error 1