Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") [: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 8.0.1-maint.8.0.x/package.mo): time 1.513/1.513, allocations: 285.5 MB / 292.8 MB, free: 9.773 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 173.2 kB / 361.1 MB, free: 332 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 0.6195 GB, free: 2.824 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008567/0.0008567, allocations: 97.44 kB / 0.7326 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.795e-06, allocations: 1.531 kB / 0.851 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2416, allocations: 115.3 MB / 0.9637 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8482/1.09, allocations: 380.2 MB / 1.335 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.09, allocations: 67.22 kB / 1.335 GB, free: 7.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.04637/1.136, allocations: 19.24 MB / 1.354 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.157e-06/1.137, allocations: 0 / 1.354 GB, free: 8.184 MB / 0.8542 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.0007102/1.137, allocations: 476.6 kB / 1.354 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.137, allocations: 8.031 kB / 1.354 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/1.137, allocations: 19.81 kB / 1.354 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/1.138, allocations: 211.8 kB / 1.354 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/1.138, allocations: 11.98 kB / 1.354 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/1.138, allocations: 12 kB / 1.354 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004894/1.138, allocations: 416.5 kB / 1.355 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/1.139, allocations: 210 kB / 1.355 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.139, allocations: 0 / 1.355 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/1.139, allocations: 0 / 1.355 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/1.139, allocations: 15.94 kB / 1.355 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/1.14, allocations: 0.9325 MB / 1.356 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/1.14, allocations: 152.8 kB / 1.356 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/1.14, allocations: 46.17 kB / 1.356 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/1.142, allocations: 1.917 MB / 1.358 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.879e-05/1.142, allocations: 41.72 kB / 1.358 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/1.142, allocations: 0 / 1.358 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0005138/1.142, allocations: 130.8 kB / 1.358 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/1.143, allocations: 51.41 kB / 1.358 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/1.143, allocations: 141 kB / 1.358 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/1.143, allocations: 25.7 kB / 1.358 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/1.143, allocations: 143.2 kB / 1.359 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/1.143, allocations: 50.66 kB / 1.359 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/1.143, allocations: 0 / 1.359 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.143, allocations: 325.2 kB / 1.359 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/1.143, allocations: 27.06 kB / 1.359 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/1.143, allocations: 138.4 kB / 1.359 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/1.143, allocations: 80.48 kB / 1.359 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.143, allocations: 0 / 1.359 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004775/1.144, allocations: 210.9 kB / 1.359 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.144, allocations: 10.97 kB / 1.359 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.144, allocations: 3.984 kB / 1.359 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.144, allocations: 8 kB / 1.359 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/1.144, allocations: 56.38 kB / 1.359 GB, free: 2.121 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-05/1.144, allocations: 11.94 kB / 1.359 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/1.144, allocations: 27.67 kB / 1.359 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/1.144, allocations: 14.81 kB / 1.359 GB, free: 2.07 MB / 0.8542 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 9.066e-05/1.144, allocations: 115.8 kB / 1.36 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/1.145, allocations: 11.91 kB / 1.36 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005359/1.145, allocations: 180.2 kB / 1.36 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.145, allocations: 4 kB / 1.36 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.145, allocations: 4 kB / 1.36 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.145, allocations: 4 kB / 1.36 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/1.145, allocations: 183.6 kB / 1.36 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.145, allocations: 0 / 1.36 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/1.145, allocations: 31.92 kB / 1.36 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.145, allocations: 0 / 1.36 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/1.146, allocations: 7.984 kB / 1.36 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.146, allocations: 3.938 kB / 1.36 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.146, allocations: 0 / 1.36 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004329/1.146, allocations: 236 kB / 1.36 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.392e-05/1.146, allocations: 125.7 kB / 1.36 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/1.146, allocations: 4 kB / 1.36 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/1.146, allocations: 4 kB / 1.36 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/1.146, allocations: 11.61 kB / 1.36 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/1.146, allocations: 7.984 kB / 1.36 GB, free: 1.133 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.442e-05/1.146, allocations: 105.7 kB / 1.36 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004085/1.147, allocations: 75.52 kB / 1.361 GB, free: 0.9688 MB / 0.8542 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.0002952/1.147, allocations: 194.1 kB / 1.361 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002339/1.147, allocations: 97.16 kB / 1.361 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.147, allocations: 0 / 1.361 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/1.147, allocations: 39.12 kB / 1.361 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/1.148, allocations: 40.03 kB / 1.361 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/1.148, allocations: 167.3 kB / 1.361 GB, free: 464 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/1.149, allocations: 0.739 MB / 1.362 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/1.149, allocations: 0 / 1.362 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.006965/1.156, allocations: 3.282 MB / 1.365 GB, free: 12.46 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)