Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.0/package.mo): time 2.381/2.381, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001616/0.001615, allocations: 183.7 kB / 360.3 MB, free: 7.547 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.839/1.839, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001316/0.001315, allocations: 96.14 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2872/0.2886, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6543/0.9429, allocations: 115.2 MB / 0.9627 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9698/1.913, allocations: 376.7 MB / 1.331 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.913, allocations: 68.11 kB / 1.331 GB, free: 183.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.04092/1.954, allocations: 12.04 MB / 1.342 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.954, allocations: 8.5 kB / 1.342 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/1.954, allocations: 11.84 kB / 1.342 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/1.954, allocations: 159.1 kB / 1.343 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/1.954, allocations: 33.69 kB / 1.343 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/1.954, allocations: 3.938 kB / 1.343 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.574e-05/1.955, allocations: 11.56 kB / 1.343 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.594e-05/1.955, allocations: 41.12 kB / 1.343 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/1.955, allocations: 0 / 1.343 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.955, allocations: 0 / 1.343 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/1.955, allocations: 4 kB / 1.343 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/1.955, allocations: 317.8 kB / 1.343 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.6e-05/1.955, allocations: 14.58 kB / 1.343 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/1.955, allocations: 8.797 kB / 1.343 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.589e-05/1.955, allocations: 85.17 kB / 1.343 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/1.955, allocations: 36.97 kB / 1.343 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.794e-06/1.955, allocations: 0 / 1.343 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001937/1.956, allocations: 37.59 kB / 1.343 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/1.956, allocations: 55.41 kB / 1.343 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.233e-05/1.956, allocations: 92.62 kB / 1.343 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/1.956, allocations: 25.7 kB / 1.343 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/1.956, allocations: 88.03 kB / 1.343 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-06/1.956, allocations: 3.625 kB / 1.343 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.956, allocations: 4.031 kB / 1.343 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.845e-05/1.956, allocations: 318.8 kB / 1.344 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/1.956, allocations: 0 / 1.344 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/1.956, allocations: 23.25 kB / 1.344 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.682e-05/1.956, allocations: 11.98 kB / 1.344 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.956, allocations: 0 / 1.344 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000135/1.956, allocations: 41.75 kB / 1.344 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.956, allocations: 8 kB / 1.344 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.956, allocations: 4.938 kB / 1.344 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.956, allocations: 0 / 1.344 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/1.956, allocations: 4 kB / 1.344 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.956, allocations: 3.984 kB / 1.344 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/1.956, allocations: 11.78 kB / 1.344 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/1.956, allocations: 4 kB / 1.344 GB, free: 178.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.759e-05/1.956, allocations: 106.4 kB / 1.344 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/1.957, allocations: 11.06 kB / 1.344 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/1.957, allocations: 116.3 kB / 1.344 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/1.957, allocations: 188.2 kB / 1.344 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.408e-05/1.957, allocations: 180.2 kB / 1.344 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/1.957, allocations: 177.9 kB / 1.345 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/1.957, allocations: 389.1 kB / 1.345 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.957, allocations: 104.9 kB / 1.345 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/1.957, allocations: 101 kB / 1.345 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.33e-05/1.957, allocations: 184.3 kB / 1.345 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/1.957, allocations: 188.2 kB / 1.346 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.971e-05/1.957, allocations: 176.3 kB / 1.346 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.248e-05/1.957, allocations: 184.2 kB / 1.346 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.044e-05/1.957, allocations: 303.1 kB / 1.346 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001524/1.957, allocations: 0.6807 MB / 1.347 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/1.958, allocations: 182.1 kB / 1.347 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/1.958, allocations: 181.5 kB / 1.347 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/1.958, allocations: 108.4 kB / 1.347 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/1.958, allocations: 184.9 kB / 1.347 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/1.958, allocations: 109 kB / 1.348 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.919e-05/1.958, allocations: 90.69 kB / 1.348 GB, free: 174 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001142/1.959, allocations: 16 kB / 1.348 GB, free: 174 MB / 0.8542 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.0002508/1.959, allocations: 200.8 kB / 1.348 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.62e-05/1.959, allocations: 11.67 kB / 1.348 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.959, allocations: 0.8438 kB / 1.348 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/1.959, allocations: 0 / 1.348 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/1.96, allocations: 0.5201 MB / 1.348 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/1.96, allocations: 139.5 kB / 1.349 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/1.96, allocations: 0.688 MB / 1.349 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/1.96, allocations: 0.8438 kB / 1.349 GB, free: 172.4 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)