Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5246/0.5246, allocations: 94.74 MB / 102 MB, free: 10.32 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001862/0.001862, allocations: 168.4 kB / 125.3 MB, free: 11.95 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.621/1.621, allocations: 170.5 MB / 319 MB, free: 9.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001889/0.001889, allocations: 110.1 kB / 381 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.157e-06/9.377e-06, allocations: 4 kB / 448.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.167, allocations: 61.51 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.25/11.41, allocations: 5.17 GB / 5.668 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/11.41, allocations: 76.7 kB / 5.668 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1391/11.55, allocations: 69.87 MB / 5.736 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.936e-06/11.55, allocations: 0 / 5.736 GB, free: 38.5 MB / 0.5261 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.0005536/11.55, allocations: 422 kB / 5.736 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/11.55, allocations: 8.031 kB / 5.736 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/11.55, allocations: 0 / 5.736 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/11.55, allocations: 164.6 kB / 5.737 GB, free: 37.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/11.55, allocations: 29.7 kB / 5.737 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/11.55, allocations: 0 / 5.737 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.152e-05/11.55, allocations: 22.64 kB / 5.737 GB, free: 37.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.649e-05/11.55, allocations: 53.62 kB / 5.737 GB, free: 37.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/11.55, allocations: 0 / 5.737 GB, free: 37.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/11.55, allocations: 0 / 5.737 GB, free: 37.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/11.55, allocations: 4 kB / 5.737 GB, free: 37.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/11.55, allocations: 229.4 kB / 5.737 GB, free: 37.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.73e-05/11.55, allocations: 22.61 kB / 5.737 GB, free: 37.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/11.56, allocations: 4.859 kB / 5.737 GB, free: 37.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/11.56, allocations: 8.062 kB / 5.737 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/11.56, allocations: 34.56 kB / 5.737 GB, free: 37.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/11.56, allocations: 0 / 5.737 GB, free: 37.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001881/11.56, allocations: 37.55 kB / 5.737 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/11.56, allocations: 51.41 kB / 5.737 GB, free: 37.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/11.56, allocations: 101 kB / 5.737 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/11.56, allocations: 25.7 kB / 5.737 GB, free: 37.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/11.56, allocations: 96.02 kB / 5.737 GB, free: 37.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.88e-06/11.56, allocations: 3.906 kB / 5.737 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-06/11.56, allocations: 0 / 5.737 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.221e-05/11.56, allocations: 314.8 kB / 5.738 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/11.56, allocations: 4 kB / 5.738 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/11.56, allocations: 26.56 kB / 5.738 GB, free: 36.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/11.56, allocations: 27.95 kB / 5.738 GB, free: 36.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/11.56, allocations: 0 / 5.738 GB, free: 36.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001682/11.56, allocations: 71.55 kB / 5.738 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/11.56, allocations: 8 kB / 5.738 GB, free: 36.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/11.56, allocations: 3.906 kB / 5.738 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/11.56, allocations: 0 / 5.738 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/11.56, allocations: 15.88 kB / 5.738 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/11.56, allocations: 0 / 5.738 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/11.56, allocations: 4 kB / 5.738 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/11.56, allocations: 8.078 kB / 5.738 GB, free: 36.53 MB / 0.5261 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 () * 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 5.146e-05/11.56, allocations: 101 kB / 5.738 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/11.56, allocations: 7.906 kB / 5.738 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/11.56, allocations: 121 kB / 5.738 GB, free: 36.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-05/11.56, allocations: 180.2 kB / 5.738 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.127e-05/11.56, allocations: 184.2 kB / 5.738 GB, free: 35.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/11.56, allocations: 180.3 kB / 5.738 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/11.56, allocations: 389.6 kB / 5.739 GB, free: 35.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/11.56, allocations: 105 kB / 5.739 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/11.56, allocations: 101 kB / 5.739 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.323e-05/11.56, allocations: 184.2 kB / 5.739 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/11.56, allocations: 176.3 kB / 5.739 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.314e-05/11.56, allocations: 182 kB / 5.74 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.221e-05/11.56, allocations: 184.2 kB / 5.74 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001198/11.56, allocations: 316.9 kB / 5.74 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/11.56, allocations: 186 kB / 5.74 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/11.56, allocations: 180.3 kB / 5.74 GB, free: 33.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/11.56, allocations: 105 kB / 5.74 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/11.56, allocations: 184.2 kB / 5.741 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/11.56, allocations: 101 kB / 5.741 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.302e-05/11.56, allocations: 91.28 kB / 5.741 GB, free: 33.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005778/11.56, allocations: 159.8 kB / 5.741 GB, free: 32.98 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001481/11.56, allocations: 0.9518 MB / 5.742 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.212e-05/11.56, allocations: 12 kB / 5.742 GB, free: 32.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/11.56, allocations: 4.188 kB / 5.742 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/11.56, allocations: 0 / 5.742 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/11.56, allocations: 0.5262 MB / 5.742 GB, free: 31.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/11.56, allocations: 127.3 kB / 5.743 GB, free: 31.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/11.56, allocations: 0.688 MB / 5.743 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/11.56, allocations: 3.938 kB / 5.743 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.009231/11.57, allocations: 5.388 MB / 5.748 GB, free: 25.27 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)