Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 192.5 kB / 7.806 MB, free: 2.23 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5365/0.5365, allocations: 90.85 MB / 99.08 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.4 MB / 342.8 MB, free: 5.535 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 90.06 kB / 415.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1906/0.1916, allocations: 78.44 MB / 493.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.5918, allocations: 72.31 MB / 0.553 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6022/1.194, allocations: 401.6 MB / 0.9452 GB, free: 2.871 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.194, allocations: 86.91 kB / 0.9453 GB, free: 2.824 MB / 0.6042 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.4546/1.649, allocations: 86.71 MB / 1.03 GB, free: 171 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.649, allocations: 8 kB / 1.03 GB, free: 171 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/1.649, allocations: 27.8 kB / 1.03 GB, free: 171 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/1.65, allocations: 221.8 kB / 1.03 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/1.65, allocations: 11.98 kB / 1.03 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/1.65, allocations: 8 kB / 1.03 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004125/1.65, allocations: 412.2 kB / 1.031 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/1.65, allocations: 215.9 kB / 1.031 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.65, allocations: 0 / 1.031 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/1.65, allocations: 7.906 kB / 1.031 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/1.65, allocations: 11.92 kB / 1.031 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/1.651, allocations: 0.9608 MB / 1.032 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/1.652, allocations: 145.1 kB / 1.032 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/1.652, allocations: 58.3 kB / 1.032 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009903/1.653, allocations: 1.946 MB / 1.034 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/1.653, allocations: 34.56 kB / 1.034 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/1.653, allocations: 0 / 1.034 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005087/1.653, allocations: 137.4 kB / 1.034 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/1.653, allocations: 51.41 kB / 1.034 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/1.653, allocations: 141 kB / 1.034 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/1.653, allocations: 29.7 kB / 1.034 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/1.653, allocations: 143.8 kB / 1.034 GB, free: 166 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/1.653, allocations: 51.2 kB / 1.034 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/1.653, allocations: 0 / 1.034 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.056e-05/1.653, allocations: 322.8 kB / 1.035 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/1.654, allocations: 35.94 kB / 1.035 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.101e-05/1.654, allocations: 133.2 kB / 1.035 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/1.654, allocations: 75.88 kB / 1.035 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.654, allocations: 0.6562 kB / 1.035 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005047/1.654, allocations: 213.1 kB / 1.035 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.655, allocations: 4 kB / 1.035 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.655, allocations: 7.984 kB / 1.035 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.655, allocations: 4 kB / 1.035 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/1.655, allocations: 55.92 kB / 1.035 GB, free: 165 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.655, allocations: 16.39 kB / 1.035 GB, free: 165 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/1.655, allocations: 28.91 kB / 1.035 GB, free: 165 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/1.655, allocations: 8 kB / 1.035 GB, free: 165 MB / 0.6042 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.544e-05/1.655, allocations: 116.9 kB / 1.035 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/1.655, allocations: 15.81 kB / 1.035 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/1.656, allocations: 183.2 kB / 1.036 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.656, allocations: 0 / 1.036 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.656, allocations: 0 / 1.036 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.656, allocations: 7.969 kB / 1.036 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/1.656, allocations: 193 kB / 1.036 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.656, allocations: 0 / 1.036 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/1.656, allocations: 31.92 kB / 1.036 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.656, allocations: 5.031 kB / 1.036 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/1.656, allocations: 3.438 kB / 1.036 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.656, allocations: 2.031 kB / 1.036 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.656, allocations: 0 / 1.036 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004131/1.656, allocations: 238.9 kB / 1.036 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005148/1.657, allocations: 0.6325 MB / 1.037 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/1.657, allocations: 124.8 kB / 1.037 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/1.657, allocations: 4 kB / 1.037 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/1.657, allocations: 19.98 kB / 1.037 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/1.657, allocations: 7.984 kB / 1.037 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/1.657, allocations: 4 kB / 1.037 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.977e-05/1.657, allocations: 111.9 kB / 1.037 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001078/1.658, allocations: 99.83 kB / 1.037 GB, free: 163.1 MB / 0.6042 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.0003422/1.659, allocations: 242.9 kB / 1.037 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002084/1.659, allocations: 103.8 kB / 1.037 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.659, allocations: 0 / 1.037 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.124e-05/1.659, allocations: 35.94 kB / 1.037 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/1.659, allocations: 34.45 kB / 1.037 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/1.66, allocations: 172.3 kB / 1.038 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/1.66, allocations: 0.7473 MB / 1.038 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/1.66, allocations: 0 / 1.038 GB, free: 161.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)