Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [: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 8.0.1-maint.8.0.x/package.mo): time 1.359/1.359, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 171.4 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.065/1.065, allocations: 205.1 MB / 0.6195 GB, free: 11.96 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007731/0.0007731, allocations: 85.73 kB / 0.7325 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.205/0.2058, allocations: 121.4 MB / 0.8511 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.4088, allocations: 115.3 MB / 0.9638 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.484/3.893, allocations: 2.053 GB / 3.016 GB, free: 66.32 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/3.893, allocations: 70.25 kB / 3.016 GB, free: 66.26 MB / 0.9323 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.06587/3.959, allocations: 37.12 MB / 3.053 GB, free: 29.26 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/3.959, allocations: 8.5 kB / 3.053 GB, free: 29.25 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/3.96, allocations: 34.17 kB / 3.053 GB, free: 29.22 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.115e-05/3.96, allocations: 167 kB / 3.053 GB, free: 29.02 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/3.96, allocations: 25.7 kB / 3.053 GB, free: 28.98 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/3.96, allocations: 4 kB / 3.053 GB, free: 28.98 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.909e-05/3.96, allocations: 19.98 kB / 3.053 GB, free: 28.96 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.486e-05/3.96, allocations: 45.67 kB / 3.053 GB, free: 28.91 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/3.96, allocations: 2.531 kB / 3.053 GB, free: 28.91 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/3.96, allocations: 7.984 kB / 3.053 GB, free: 28.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/3.96, allocations: 3.906 kB / 3.053 GB, free: 28.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/3.961, allocations: 326.5 kB / 3.053 GB, free: 28.52 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.518e-05/3.961, allocations: 26.52 kB / 3.053 GB, free: 28.49 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/3.961, allocations: 4.906 kB / 3.053 GB, free: 28.48 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/3.961, allocations: 3.984 kB / 3.053 GB, free: 28.48 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/3.961, allocations: 34.56 kB / 3.053 GB, free: 28.43 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/3.961, allocations: 0 / 3.053 GB, free: 28.43 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0002182/3.961, allocations: 41.75 kB / 3.053 GB, free: 28.39 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/3.961, allocations: 51.41 kB / 3.053 GB, free: 28.32 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/3.961, allocations: 95.69 kB / 3.054 GB, free: 28.23 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/3.961, allocations: 25.7 kB / 3.054 GB, free: 28.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/3.961, allocations: 95.89 kB / 3.054 GB, free: 28.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/3.961, allocations: 12.02 kB / 3.054 GB, free: 28.09 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/3.961, allocations: 0 / 3.054 GB, free: 28.09 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.941e-05/3.961, allocations: 310.8 kB / 3.054 GB, free: 27.77 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/3.961, allocations: 4 kB / 3.054 GB, free: 27.77 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/3.961, allocations: 30.45 kB / 3.054 GB, free: 27.73 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.974e-05/3.961, allocations: 7.984 kB / 3.054 GB, free: 27.72 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/3.961, allocations: 8 kB / 3.054 GB, free: 27.71 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.79e-05/3.961, allocations: 45.55 kB / 3.054 GB, free: 27.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/3.961, allocations: 4 kB / 3.054 GB, free: 27.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/3.961, allocations: 4 kB / 3.054 GB, free: 27.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/3.961, allocations: 3.984 kB / 3.054 GB, free: 27.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/3.961, allocations: 8 kB / 3.054 GB, free: 27.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/3.961, allocations: 7.281 kB / 3.054 GB, free: 27.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/3.961, allocations: 0.6562 kB / 3.054 GB, free: 27.64 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/3.962, allocations: 3.906 kB / 3.054 GB, free: 27.64 MB / 0.9323 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 4.921e-05/3.962, allocations: 109.1 kB / 3.054 GB, free: 27.52 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/3.962, allocations: 0 / 3.054 GB, free: 27.52 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/3.962, allocations: 3.156 kB / 3.054 GB, free: 27.52 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/3.962, allocations: 4 kB / 3.054 GB, free: 27.52 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/3.962, allocations: 0 / 3.054 GB, free: 27.52 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/3.962, allocations: 7.469 kB / 3.054 GB, free: 27.52 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/3.962, allocations: 327.3 kB / 3.055 GB, free: 27.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/3.962, allocations: 4.031 kB / 3.055 GB, free: 27.14 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/3.962, allocations: 0 / 3.055 GB, free: 27.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/3.962, allocations: 0 / 3.055 GB, free: 27.14 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-06/3.962, allocations: 0 / 3.055 GB, free: 27.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/3.962, allocations: 3.906 kB / 3.055 GB, free: 27.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/3.962, allocations: 0 / 3.055 GB, free: 27.14 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.573e-05/3.962, allocations: 57.14 kB / 3.055 GB, free: 27.07 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001339/3.962, allocations: 461.4 kB / 3.055 GB, free: 26.59 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/3.962, allocations: 79.86 kB / 3.055 GB, free: 26.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/3.962, allocations: 3.906 kB / 3.055 GB, free: 26.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/3.962, allocations: 7.984 kB / 3.055 GB, free: 26.49 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/3.962, allocations: 0 / 3.055 GB, free: 26.49 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/3.962, allocations: 0 / 3.055 GB, free: 26.49 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.408e-05/3.962, allocations: 91.31 kB / 3.055 GB, free: 26.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008756/3.963, allocations: 75.98 kB / 3.055 GB, free: 26.32 MB / 0.9323 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 (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.0006321/3.964, allocations: 0.6426 MB / 3.056 GB, free: 25.68 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 6.974e-05/3.964, allocations: 11.94 kB / 3.056 GB, free: 25.67 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/3.964, allocations: 3.938 kB / 3.056 GB, free: 25.67 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-06/3.964, allocations: 4 kB / 3.056 GB, free: 25.66 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/3.964, allocations: 2.656 kB / 3.056 GB, free: 25.66 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000163/3.964, allocations: 59.34 kB / 3.056 GB, free: 25.59 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/3.964, allocations: 0.6927 MB / 3.057 GB, free: 24.87 MB / 0.9323 GB Notification: Performance of SimCode: time 7.21e-07/3.964, allocations: 0 / 3.057 GB, free: 24.87 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)