Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.029/2.029, allocations: 253.1 MB / 260.4 MB, free: 7.539 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002178/0.002178, allocations: 185.2 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001332/0.001331, allocations: 88.27 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.897e-06/9.017e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2711, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.634/1.905, allocations: 424.3 MB / 1.302 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003875/1.905, allocations: 71.05 kB / 1.302 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.07944/1.985, allocations: 13.06 MB / 1.315 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.711e-05/1.985, allocations: 3.906 kB / 1.315 GB, free: 257.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001533/1.987, allocations: 0.5175 MB / 1.316 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.987, allocations: 7.812 kB / 1.316 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/1.987, allocations: 27.09 kB / 1.316 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/1.987, allocations: 235.3 kB / 1.316 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/1.988, allocations: 23.91 kB / 1.316 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/1.988, allocations: 11.84 kB / 1.316 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003469/1.991, allocations: 0.6165 MB / 1.317 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005778/1.992, allocations: 214.6 kB / 1.317 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.992, allocations: 0 / 1.317 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/1.992, allocations: 0 / 1.317 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/1.992, allocations: 3.875 kB / 1.317 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/1.992, allocations: 277.7 kB / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/1.993, allocations: 411 kB / 1.317 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/1.994, allocations: 173.6 kB / 1.318 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000525/1.994, allocations: 392 kB / 1.318 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/1.994, allocations: 37.75 kB / 1.318 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 3.066e-06/1.994, allocations: 0 / 1.318 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.005073/1.999, allocations: 0.7014 MB / 1.319 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/1.999, allocations: 59.25 kB / 1.319 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/2, allocations: 111.9 kB / 1.319 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/2, allocations: 25.7 kB / 1.319 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.165e-05/2, allocations: 86.11 kB / 1.319 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/2, allocations: 126.2 kB / 1.319 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/2, allocations: 0 / 1.319 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.247e-05/2, allocations: 327.6 kB / 1.319 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/2, allocations: 132.4 kB / 1.32 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/2.001, allocations: 133.4 kB / 1.32 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00448/2.005, allocations: 495.6 kB / 1.32 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/2.005, allocations: 1.125 kB / 1.32 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004976/2.01, allocations: 0.7051 MB / 1.321 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/2.01, allocations: 7.812 kB / 1.321 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/2.01, allocations: 0 / 1.321 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/2.01, allocations: 4.656 kB / 1.321 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/2.011, allocations: 116 kB / 1.321 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/2.011, allocations: 0 / 1.321 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/2.012, allocations: 69.27 kB / 1.321 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/2.012, allocations: 13.83 kB / 1.321 GB, free: 255.7 MB / 0.8698 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 (37): * Single equations (assignments): 37 * 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 0.0001128/2.012, allocations: 105.5 kB / 1.321 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/2.012, allocations: 15.47 kB / 1.321 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005226/2.017, allocations: 0.7583 MB / 1.322 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/2.017, allocations: 4.266 kB / 1.322 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/2.017, allocations: 1.031 kB / 1.322 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/2.017, allocations: 1.453 kB / 1.322 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/2.018, allocations: 285.2 kB / 1.322 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/2.018, allocations: 0.5156 kB / 1.322 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/2.019, allocations: 116.6 kB / 1.322 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/2.019, allocations: 2 kB / 1.322 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/2.019, allocations: 9.438 kB / 1.322 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/2.019, allocations: 2.547 kB / 1.322 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/2.019, allocations: 3.984 kB / 1.322 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005086/2.024, allocations: 0.7471 MB / 1.323 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/2.024, allocations: 95.03 kB / 1.323 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.753e-05/2.024, allocations: 5.969 kB / 1.323 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/2.025, allocations: 48.53 kB / 1.323 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003665/2.025, allocations: 87.47 kB / 1.323 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/2.025, allocations: 22.81 kB / 1.323 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.846e-05/2.025, allocations: 94.3 kB / 1.323 GB, free: 255 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007057/2.026, allocations: 111.8 kB / 1.323 GB, free: 255 MB / 0.8698 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 (37): * Single equations (assignments): 37 * 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.0007668/2.027, allocations: 239.3 kB / 1.324 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001004/2.028, allocations: 348.7 kB / 1.324 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/2.028, allocations: 0 / 1.324 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/2.028, allocations: 204.3 kB / 1.324 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/2.029, allocations: 57.89 kB / 1.324 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/2.03, allocations: 310 kB / 1.325 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/2.031, allocations: 0.7816 MB / 1.325 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/2.031, allocations: 0 / 1.325 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.01682/2.047, allocations: 6.088 MB / 1.331 GB, free: 251.1 MB / 0.8698 GB