Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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 9.1.1-maint.9.1.x/package.mo): time 1.932/1.932, allocations: 387.2 MB / 394.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 177.3 kB / 487 MB, free: 5.348 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 89.44 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5403/0.5415, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.7664, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7566/1.523, allocations: 449.4 MB / 1.644 GB, free: 6.305 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/1.523, allocations: 80.08 kB / 1.644 GB, free: 6.262 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.6254/2.149, allocations: 86.71 MB / 1.729 GB, free: 337.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/2.149, allocations: 8.281 kB / 1.729 GB, free: 337.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/2.149, allocations: 29.16 kB / 1.729 GB, free: 337.9 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/2.149, allocations: 226.1 kB / 1.729 GB, free: 337.7 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/2.149, allocations: 3.719 kB / 1.729 GB, free: 337.7 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/2.149, allocations: 11.03 kB / 1.729 GB, free: 337.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004068/2.15, allocations: 406.3 kB / 1.73 GB, free: 337.7 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/2.15, allocations: 217.2 kB / 1.73 GB, free: 337.7 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/2.15, allocations: 0 / 1.73 GB, free: 337.7 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/2.15, allocations: 0 / 1.73 GB, free: 337.7 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/2.15, allocations: 6.594 kB / 1.73 GB, free: 337.7 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/2.151, allocations: 0.9705 MB / 1.731 GB, free: 337 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/2.151, allocations: 154.1 kB / 1.731 GB, free: 336.9 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/2.151, allocations: 48.17 kB / 1.731 GB, free: 336.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009773/2.152, allocations: 1.964 MB / 1.733 GB, free: 334.9 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/2.152, allocations: 45.67 kB / 1.733 GB, free: 334.9 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/2.152, allocations: 2.438 kB / 1.733 GB, free: 334.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0004667/2.153, allocations: 128.7 kB / 1.733 GB, free: 334.8 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/2.153, allocations: 55.06 kB / 1.733 GB, free: 334.8 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/2.153, allocations: 133.7 kB / 1.733 GB, free: 334.7 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/2.153, allocations: 36.83 kB / 1.733 GB, free: 334.7 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/2.153, allocations: 138.1 kB / 1.733 GB, free: 334.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/2.153, allocations: 49.58 kB / 1.733 GB, free: 334.5 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/2.153, allocations: 0 / 1.733 GB, free: 334.5 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 4.21e-05/2.153, allocations: 328.1 kB / 1.734 GB, free: 334.2 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/2.153, allocations: 28.22 kB / 1.734 GB, free: 334.2 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/2.153, allocations: 127.2 kB / 1.734 GB, free: 334.1 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/2.153, allocations: 84.17 kB / 1.734 GB, free: 334.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/2.153, allocations: 2.812 kB / 1.734 GB, free: 334.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004498/2.154, allocations: 208.4 kB / 1.734 GB, free: 334 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/2.154, allocations: 3.781 kB / 1.734 GB, free: 334 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/2.154, allocations: 7.688 kB / 1.734 GB, free: 334 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/2.154, allocations: 7.656 kB / 1.734 GB, free: 334 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/2.154, allocations: 58.75 kB / 1.734 GB, free: 334 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/2.154, allocations: 6.969 kB / 1.734 GB, free: 334 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/2.154, allocations: 27.14 kB / 1.734 GB, free: 334 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/2.154, allocations: 13.62 kB / 1.734 GB, free: 334 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 6.287e-05/2.154, allocations: 120.1 kB / 1.734 GB, free: 333.9 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/2.154, allocations: 15.09 kB / 1.734 GB, free: 333.9 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/2.155, allocations: 185.4 kB / 1.735 GB, free: 333.8 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/2.155, allocations: 0 / 1.735 GB, free: 333.8 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/2.155, allocations: 3.812 kB / 1.735 GB, free: 333.8 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/2.155, allocations: 7.641 kB / 1.735 GB, free: 333.8 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/2.155, allocations: 184.5 kB / 1.735 GB, free: 333.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/2.155, allocations: 0 / 1.735 GB, free: 333.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/2.155, allocations: 28 kB / 1.735 GB, free: 333.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/2.155, allocations: 0 / 1.735 GB, free: 333.7 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/2.155, allocations: 6.016 kB / 1.735 GB, free: 333.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/2.155, allocations: 3.906 kB / 1.735 GB, free: 333.7 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/2.155, allocations: 3.938 kB / 1.735 GB, free: 333.7 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003929/2.156, allocations: 242.9 kB / 1.735 GB, free: 333.5 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005241/2.156, allocations: 0.6277 MB / 1.736 GB, free: 333 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/2.156, allocations: 123.4 kB / 1.736 GB, free: 332.9 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/2.156, allocations: 0 / 1.736 GB, free: 332.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/2.156, allocations: 18.39 kB / 1.736 GB, free: 332.9 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/2.156, allocations: 11.2 kB / 1.736 GB, free: 332.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/2.157, allocations: 15.48 kB / 1.736 GB, free: 332.9 MB / 1.135 GB Notification: Performance of sort global known variables: time 4.47e-05/2.157, allocations: 106.3 kB / 1.736 GB, free: 332.8 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0009926/2.158, allocations: 93.61 kB / 1.736 GB, free: 332.8 MB / 1.135 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003271/2.158, allocations: 242 kB / 1.736 GB, free: 332.7 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0002029/2.158, allocations: 101.4 kB / 1.736 GB, free: 332.7 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/2.158, allocations: 4.312 kB / 1.736 GB, free: 332.7 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/2.158, allocations: 37.81 kB / 1.736 GB, free: 332.7 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/2.158, allocations: 35.55 kB / 1.736 GB, free: 332.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/2.159, allocations: 171.3 kB / 1.737 GB, free: 332.6 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/2.159, allocations: 0.7465 MB / 1.737 GB, free: 331.9 MB / 1.135 GB Notification: Performance of SimCode: time 3.01e-07/2.159, allocations: 1.125 kB / 1.737 GB, free: 331.9 MB / 1.135 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)