Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",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.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001171/0.001171, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.623/1.623, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.0008929/0.000893, allocations: 95.39 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2785/0.2794, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.8739, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.313/5.187, allocations: 2.077 GB / 3.049 GB, free: 359.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/5.187, allocations: 72.88 kB / 3.05 GB, free: 359.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.1079/5.295, allocations: 50.47 MB / 3.099 GB, free: 337.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/5.295, allocations: 12 kB / 3.099 GB, free: 337.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/5.296, allocations: 143.6 kB / 3.099 GB, free: 337.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/5.297, allocations: 222.7 kB / 3.099 GB, free: 337 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/5.297, allocations: 8 kB / 3.099 GB, free: 337 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/5.297, allocations: 12 kB / 3.099 GB, free: 337 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004854/5.297, allocations: 320.6 kB / 3.1 GB, free: 336.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/5.297, allocations: 285.9 kB / 3.1 GB, free: 336.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/5.297, allocations: 0.75 kB / 3.1 GB, free: 336.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/5.297, allocations: 0 / 3.1 GB, free: 336.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/5.298, allocations: 19.89 kB / 3.1 GB, free: 336.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/5.299, allocations: 1.113 MB / 3.101 GB, free: 335.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/5.299, allocations: 174.7 kB / 3.101 GB, free: 334.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/5.299, allocations: 81.75 kB / 3.101 GB, free: 334.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003562/5.3, allocations: 360.5 kB / 3.101 GB, free: 334.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/5.3, allocations: 42.56 kB / 3.102 GB, free: 334.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/5.3, allocations: 0.8438 kB / 3.102 GB, free: 334.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0004653/5.3, allocations: 184.4 kB / 3.102 GB, free: 334.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/5.3, allocations: 55.41 kB / 3.102 GB, free: 334.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/5.3, allocations: 135.6 kB / 3.102 GB, free: 334 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/5.301, allocations: 29.7 kB / 3.102 GB, free: 334 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/5.301, allocations: 147.8 kB / 3.102 GB, free: 333.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/5.301, allocations: 70.94 kB / 3.102 GB, free: 333.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/5.301, allocations: 4 kB / 3.102 GB, free: 333.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/5.301, allocations: 330.8 kB / 3.102 GB, free: 333.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.541e-05/5.301, allocations: 68.75 kB / 3.103 GB, free: 333.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/5.301, allocations: 151.7 kB / 3.103 GB, free: 333.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/5.301, allocations: 99.05 kB / 3.103 GB, free: 333.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/5.301, allocations: 0 / 3.103 GB, free: 333.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004097/5.302, allocations: 245.2 kB / 3.103 GB, free: 332.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/5.302, allocations: 7.906 kB / 3.103 GB, free: 332.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/5.302, allocations: 7.938 kB / 3.103 GB, free: 332.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/5.302, allocations: 4.375 kB / 3.103 GB, free: 332.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/5.302, allocations: 63.91 kB / 3.103 GB, free: 332.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/5.302, allocations: 11.94 kB / 3.103 GB, free: 332.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/5.302, allocations: 19.75 kB / 3.103 GB, free: 332.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/5.302, allocations: 12 kB / 3.103 GB, free: 332.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.585e-05/5.302, allocations: 112.9 kB / 3.103 GB, free: 332.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/5.302, allocations: 15.81 kB / 3.103 GB, free: 332.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/5.303, allocations: 229.1 kB / 3.103 GB, free: 332.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/5.303, allocations: 4 kB / 3.103 GB, free: 332.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/5.303, allocations: 3.906 kB / 3.103 GB, free: 332.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/5.303, allocations: 0 / 3.103 GB, free: 332.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/5.303, allocations: 499.4 kB / 3.104 GB, free: 331.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/5.303, allocations: 0 / 3.104 GB, free: 331.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/5.304, allocations: 35.92 kB / 3.104 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/5.304, allocations: 4.062 kB / 3.104 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/5.304, allocations: 4 kB / 3.104 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/5.304, allocations: 7.891 kB / 3.104 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/5.304, allocations: 3.938 kB / 3.104 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003403/5.304, allocations: 320.4 kB / 3.104 GB, free: 331.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004481/5.304, allocations: 0.7115 MB / 3.105 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/5.304, allocations: 116.8 kB / 3.105 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/5.305, allocations: 4 kB / 3.105 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/5.305, allocations: 7.984 kB / 3.105 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/5.305, allocations: 7.984 kB / 3.105 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/5.305, allocations: 16 kB / 3.105 GB, free: 330.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.02e-05/5.305, allocations: 109.9 kB / 3.105 GB, free: 330.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001296/5.306, allocations: 199.8 kB / 3.105 GB, free: 330.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008763/5.307, allocations: 0.7297 MB / 3.106 GB, free: 329.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002749/5.307, allocations: 179.8 kB / 3.106 GB, free: 329.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/5.307, allocations: 4 kB / 3.106 GB, free: 329.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.087e-05/5.307, allocations: 79.91 kB / 3.106 GB, free: 329.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/5.308, allocations: 53.19 kB / 3.106 GB, free: 329.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/5.308, allocations: 229.8 kB / 3.107 GB, free: 328.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/5.309, allocations: 0.7729 MB / 3.107 GB, free: 328.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/5.309, allocations: 0 / 3.107 GB, free: 328.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_AirProperties.fmu > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)