Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.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.Examples.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",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.979/1.979, allocations: 390.4 MB / 397.7 MB, free: 10.71 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.00106/0.00106, allocations: 177.5 kB / 490.8 MB, free: 11.23 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.365/1.365, allocations: 221.4 MB / 0.7863 GB, free: 13.59 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.0009586/0.0009583, allocations: 94.8 kB / 0.9264 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3412/0.3422, allocations: 149.1 MB / 1.072 GB, free: 15.52 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8277/1.17, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/2.188, allocations: 460.9 MB / 1.662 GB, free: 173.8 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001625/2.188, allocations: 72.56 kB / 1.662 GB, free: 173.8 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.4728/2.661, allocations: 189.3 MB / 1.847 GB, free: 2.277 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/2.661, allocations: 8 kB / 1.847 GB, free: 2.27 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/2.662, allocations: 95.7 kB / 1.847 GB, free: 2.176 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/2.663, allocations: 226.8 kB / 1.847 GB, free: 1.914 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/2.663, allocations: 4 kB / 1.847 GB, free: 1.91 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/2.663, allocations: 12 kB / 1.847 GB, free: 1.898 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004957/2.663, allocations: 399.7 kB / 1.847 GB, free: 1.508 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/2.663, allocations: 209.1 kB / 1.848 GB, free: 1.285 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/2.663, allocations: 0 / 1.848 GB, free: 1.285 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/2.664, allocations: 4 kB / 1.848 GB, free: 1.281 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/2.664, allocations: 4 kB / 1.848 GB, free: 1.277 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009911/2.665, allocations: 0.8639 MB / 1.848 GB, free: 348 kB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/2.665, allocations: 141.3 kB / 1.849 GB, free: 200 kB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.323e-05/2.665, allocations: 67.23 kB / 1.849 GB, free: 132 kB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1161/2.781, allocations: 48.34 MB / 1.896 GB, free: 12.64 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/2.781, allocations: 35.22 kB / 1.896 GB, free: 12.6 MB / 1.089 GB Notification: Performance of pre-optimization done (n=25): time 2.235e-06/2.781, allocations: 0 / 1.896 GB, free: 12.6 MB / 1.089 GB Notification: Performance of matching and sorting (n=25): time 0.001134/2.782, allocations: 233.4 kB / 1.896 GB, free: 12.37 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/2.782, allocations: 51.41 kB / 1.896 GB, free: 12.3 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/2.782, allocations: 117.1 kB / 1.896 GB, free: 12.18 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/2.782, allocations: 27.3 kB / 1.896 GB, free: 12.15 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/2.783, allocations: 104.5 kB / 1.896 GB, free: 12.04 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/2.783, allocations: 86.75 kB / 1.896 GB, free: 11.96 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/2.783, allocations: 0 / 1.896 GB, free: 11.96 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001235/2.783, allocations: 318.8 kB / 1.897 GB, free: 11.64 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/2.783, allocations: 47.98 kB / 1.897 GB, free: 11.59 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/2.783, allocations: 89.83 kB / 1.897 GB, free: 11.48 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/2.783, allocations: 77.42 kB / 1.897 GB, free: 11.41 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/2.783, allocations: 0 / 1.897 GB, free: 11.41 MB / 1.089 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008473/2.784, allocations: 254.5 kB / 1.897 GB, free: 11.16 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/2.784, allocations: 7.938 kB / 1.897 GB, free: 11.15 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/2.784, allocations: 0 / 1.897 GB, free: 11.15 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/2.784, allocations: 4 kB / 1.897 GB, free: 11.14 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/2.784, allocations: 56.12 kB / 1.897 GB, free: 11.09 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/2.784, allocations: 3.938 kB / 1.897 GB, free: 11.09 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/2.785, allocations: 15.84 kB / 1.897 GB, free: 11.07 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/2.785, allocations: 15.98 kB / 1.897 GB, free: 11.05 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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 8.859e-05/2.785, allocations: 110.6 kB / 1.897 GB, free: 10.94 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/2.785, allocations: 63.83 kB / 1.897 GB, free: 10.88 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/2.786, allocations: 0.8115 MB / 1.898 GB, free: 10.09 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/2.786, allocations: 11.98 kB / 1.898 GB, free: 10.07 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/2.786, allocations: 0 / 1.898 GB, free: 10.07 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/2.786, allocations: 4 kB / 1.898 GB, free: 10.07 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/2.788, allocations: 1.146 MB / 1.899 GB, free: 8.883 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/2.788, allocations: 4 kB / 1.899 GB, free: 8.879 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/2.788, allocations: 45.84 kB / 1.899 GB, free: 8.836 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/2.788, allocations: 3.938 kB / 1.899 GB, free: 8.832 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/2.788, allocations: 7.906 kB / 1.899 GB, free: 8.824 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/2.788, allocations: 0 / 1.899 GB, free: 8.824 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.788, allocations: 7.938 kB / 1.899 GB, free: 8.816 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001279/2.789, allocations: 0.75 MB / 1.9 GB, free: 8.055 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001674/2.791, allocations: 1.187 MB / 1.901 GB, free: 6.844 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/2.791, allocations: 136.7 kB / 1.901 GB, free: 6.691 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/2.791, allocations: 3.984 kB / 1.901 GB, free: 6.688 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/2.791, allocations: 12 kB / 1.902 GB, free: 6.676 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/2.791, allocations: 15.97 kB / 1.902 GB, free: 6.66 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/2.791, allocations: 18.16 kB / 1.902 GB, free: 6.645 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.0001434/2.792, allocations: 95.27 kB / 1.902 GB, free: 6.551 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.008458/2.8, allocations: 1.873 MB / 1.903 GB, free: 4.676 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01536/2.815, allocations: 2.701 MB / 1.906 GB, free: 1.98 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0005346/2.816, allocations: 336.5 kB / 1.906 GB, free: 1.652 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/2.816, allocations: 4.312 kB / 1.906 GB, free: 1.648 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/2.816, allocations: 328.5 kB / 1.907 GB, free: 1.328 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/2.817, allocations: 39.56 kB / 1.907 GB, free: 1.293 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009273/2.818, allocations: 497.8 kB / 1.907 GB, free: 0.7891 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004346/2.818, allocations: 0.8158 MB / 1.908 GB, free: 15.95 MB / 1.104 GB Notification: Performance of SimCode: time 2.9e-07/2.818, allocations: 0 / 1.908 GB, free: 15.95 MB / 1.104 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1)