Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.904/1.904, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 184.4 kB / 490.8 MB, free: 11.22 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.321/1.321, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.000988, allocations: 90.55 kB / 0.9264 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 0.3127/0.3137, allocations: 149.1 MB / 1.072 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/1.116, allocations: 143 MB / 1.212 GB, free: 53.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/2.275, allocations: 450.2 MB / 1.651 GB, free: 50.3 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/2.275, allocations: 80.27 kB / 1.651 GB, free: 50.26 MB / 0.9636 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.2277/2.503, allocations: 86.72 MB / 1.736 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/2.503, allocations: 8 kB / 1.736 GB, free: 7.105 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/2.503, allocations: 31.73 kB / 1.736 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/2.503, allocations: 212.7 kB / 1.736 GB, free: 6.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/2.503, allocations: 8 kB / 1.736 GB, free: 6.832 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/2.503, allocations: 11.94 kB / 1.736 GB, free: 6.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004637/2.504, allocations: 412.5 kB / 1.737 GB, free: 6.488 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/2.504, allocations: 216.3 kB / 1.737 GB, free: 6.305 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/2.504, allocations: 7.875 kB / 1.737 GB, free: 6.297 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/2.504, allocations: 4 kB / 1.737 GB, free: 6.293 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/2.504, allocations: 4 kB / 1.737 GB, free: 6.289 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/2.505, allocations: 0.9747 MB / 1.738 GB, free: 5.344 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/2.506, allocations: 146 kB / 1.738 GB, free: 5.219 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.214e-05/2.506, allocations: 52.27 kB / 1.738 GB, free: 5.176 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/2.507, allocations: 1.962 MB / 1.74 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/2.507, allocations: 34.5 kB / 1.74 GB, free: 2.859 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/2.507, allocations: 0 / 1.74 GB, free: 2.859 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0004888/2.508, allocations: 135.6 kB / 1.74 GB, free: 2.738 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/2.508, allocations: 55.41 kB / 1.74 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/2.508, allocations: 142.5 kB / 1.74 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/2.508, allocations: 25.7 kB / 1.74 GB, free: 2.508 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/2.508, allocations: 143.4 kB / 1.74 GB, free: 2.371 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/2.508, allocations: 50.77 kB / 1.741 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/2.508, allocations: 0 / 1.741 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/2.508, allocations: 325.8 kB / 1.741 GB, free: 2.004 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.218e-05/2.508, allocations: 27.06 kB / 1.741 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/2.508, allocations: 128.5 kB / 1.741 GB, free: 1.824 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/2.508, allocations: 79.42 kB / 1.741 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/2.508, allocations: 4 kB / 1.741 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004954/2.509, allocations: 204.5 kB / 1.741 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/2.509, allocations: 7.906 kB / 1.741 GB, free: 1.559 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/2.509, allocations: 4 kB / 1.741 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/2.509, allocations: 4.469 kB / 1.741 GB, free: 1.551 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/2.509, allocations: 67.78 kB / 1.741 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/2.509, allocations: 11.92 kB / 1.741 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/2.509, allocations: 19.75 kB / 1.741 GB, free: 1.457 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/2.509, allocations: 12 kB / 1.741 GB, free: 1.445 MB / 0.9948 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 7.87e-05/2.509, allocations: 115.7 kB / 1.741 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/2.51, allocations: 19.75 kB / 1.741 GB, free: 1.312 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/2.51, allocations: 188.5 kB / 1.742 GB, free: 1.145 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/2.51, allocations: 0 / 1.742 GB, free: 1.145 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.51, allocations: 4 kB / 1.742 GB, free: 1.141 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/2.51, allocations: 4 kB / 1.742 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/2.51, allocations: 188.2 kB / 1.742 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/2.51, allocations: 0 / 1.742 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/2.51, allocations: 31.92 kB / 1.742 GB, free: 0.8984 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/2.51, allocations: 0 / 1.742 GB, free: 0.8984 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/2.51, allocations: 4 kB / 1.742 GB, free: 0.8945 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/2.51, allocations: 3.906 kB / 1.742 GB, free: 0.8906 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/2.51, allocations: 0 / 1.742 GB, free: 0.8906 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004377/2.511, allocations: 245.2 kB / 1.742 GB, free: 0.6562 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006244/2.512, allocations: 0.6258 MB / 1.743 GB, free: 52 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/2.512, allocations: 124 kB / 1.743 GB, free: 15.92 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/2.512, allocations: 0 / 1.743 GB, free: 15.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/2.512, allocations: 23.89 kB / 1.743 GB, free: 15.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/2.512, allocations: 7.984 kB / 1.743 GB, free: 15.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/2.512, allocations: 11.75 kB / 1.743 GB, free: 15.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.189e-05/2.512, allocations: 108.6 kB / 1.743 GB, free: 15.79 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001069/2.513, allocations: 94.67 kB / 1.743 GB, free: 15.71 MB / 1.01 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.0003574/2.514, allocations: 240.4 kB / 1.743 GB, free: 15.47 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002219/2.514, allocations: 95.3 kB / 1.743 GB, free: 15.39 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/2.514, allocations: 4 kB / 1.743 GB, free: 15.39 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/2.514, allocations: 46.05 kB / 1.743 GB, free: 15.35 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/2.514, allocations: 32.38 kB / 1.743 GB, free: 15.32 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/2.515, allocations: 167.4 kB / 1.744 GB, free: 15.15 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/2.515, allocations: 0.7434 MB / 1.744 GB, free: 14.38 MB / 1.01 GB Notification: Performance of SimCode: time 3e-07/2.515, allocations: 0 / 1.744 GB, free: 14.38 MB / 1.01 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)