Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",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.002363/0.002363, allocations: 188.4 kB / 7.803 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5463/0.5463, allocations: 90.85 MB / 99.08 MB, free: 14.95 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.359/1.359, allocations: 221.4 MB / 342.7 MB, free: 5.199 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.0009451/0.0009451, allocations: 85.64 kB / 415.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1588/0.1598, allocations: 78.44 MB / 493.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.4892, allocations: 72.29 MB / 0.553 GB, free: 44.85 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8881/1.377, allocations: 408.6 MB / 0.952 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/1.378, allocations: 73.19 kB / 0.952 GB, free: 146.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.08441/1.462, allocations: 36.31 MB / 0.9875 GB, free: 142.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/1.462, allocations: 11.72 kB / 0.9875 GB, free: 142.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/1.462, allocations: 12.73 kB / 0.9875 GB, free: 142.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.713e-05/1.462, allocations: 163 kB / 0.9877 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/1.462, allocations: 0 / 0.9877 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/1.462, allocations: 10.97 kB / 0.9877 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.053e-05/1.463, allocations: 19.34 kB / 0.9877 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.221e-05/1.463, allocations: 51.06 kB / 0.9877 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/1.463, allocations: 0 / 0.9877 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/1.463, allocations: 0 / 0.9877 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/1.463, allocations: 0 / 0.9877 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/1.463, allocations: 148.6 kB / 0.9879 GB, free: 142 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.676e-05/1.463, allocations: 32.75 kB / 0.9879 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/1.463, allocations: 20.06 kB / 0.9879 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009808/1.473, allocations: 3.091 MB / 0.991 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/1.473, allocations: 38.5 kB / 0.991 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/1.473, allocations: 0 / 0.991 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0242/1.497, allocations: 6.476 MB / 0.9973 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/1.497, allocations: 51.41 kB / 0.9974 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.489e-05/1.497, allocations: 92.44 kB / 0.9975 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/1.497, allocations: 25.7 kB / 0.9975 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.698e-05/1.497, allocations: 80.14 kB / 0.9976 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/1.497, allocations: 38.47 kB / 0.9976 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/1.497, allocations: 0 / 0.9976 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.246e-05/1.497, allocations: 325.9 kB / 0.9979 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/1.497, allocations: 15.22 kB / 0.9979 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/1.497, allocations: 19.03 kB / 0.9979 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.141e-05/1.497, allocations: 26.28 kB / 0.998 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/1.497, allocations: 0 / 0.998 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002001/1.498, allocations: 86.05 kB / 0.998 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.498, allocations: 7.469 kB / 0.9981 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.498, allocations: 3.938 kB / 0.9981 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.498, allocations: 7.906 kB / 0.9981 GB, free: 139 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/1.498, allocations: 23.09 kB / 0.9981 GB, free: 139 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.498, allocations: 3.906 kB / 0.9981 GB, free: 139 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/1.498, allocations: 3.938 kB / 0.9981 GB, free: 139 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/1.498, allocations: 4.844 kB / 0.9981 GB, free: 139 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 6.794e-05/1.498, allocations: 107.5 kB / 0.9982 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/1.498, allocations: 7.812 kB / 0.9982 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/1.498, allocations: 132.6 kB / 0.9983 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.498, allocations: 0 / 0.9983 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.498, allocations: 0 / 0.9983 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.498, allocations: 0 / 0.9983 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/1.499, allocations: 156.2 kB / 0.9985 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.499, allocations: 0 / 0.9985 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/1.499, allocations: 23.38 kB / 0.9985 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.499, allocations: 0 / 0.9985 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/1.499, allocations: 11.2 kB / 0.9985 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.499, allocations: 3.906 kB / 0.9985 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.499, allocations: 0 / 0.9985 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002601/1.499, allocations: 141.6 kB / 0.9987 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003559/1.499, allocations: 0.5479 MB / 0.9992 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/1.499, allocations: 91.77 kB / 0.9993 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/1.499, allocations: 0 / 0.9993 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/1.5, allocations: 23.47 kB / 0.9993 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/1.5, allocations: 11.69 kB / 0.9993 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/1.5, allocations: 7.812 kB / 0.9993 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.96e-05/1.5, allocations: 78.98 kB / 0.9994 GB, free: 138 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002981/1.503, allocations: 0.6433 MB / 1 GB, free: 138 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.004379/1.507, allocations: 0.8275 MB / 1.001 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000165/1.507, allocations: 61.42 kB / 1.001 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.507, allocations: 3.938 kB / 1.001 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/1.507, allocations: 26.86 kB / 1.001 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/1.507, allocations: 3.906 kB / 1.001 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/1.508, allocations: 264.8 kB / 1.001 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/1.508, allocations: 0.714 MB / 1.002 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/1.508, allocations: 0 / 1.002 GB, free: 136.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)