Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 289.8 MB / 297.1 MB, free: 8.992 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.001135/0.001135, allocations: 184.6 kB / 366.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.1 MB / 0.6256 GB, free: 11.4 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009839/0.0009842, allocations: 103 kB / 0.7396 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 9.507e-06/9.537e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2518, allocations: 116.3 MB / 0.9725 GB, free: 31.75 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9586/1.21, allocations: 430.7 MB / 1.393 GB, free: 2.27 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/1.211, allocations: 75.7 kB / 1.393 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of FrontEnd: time 0.03061/1.241, allocations: 13.06 MB / 1.406 GB, free: 7.488 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.341e-05/1.241, allocations: 0 / 1.406 GB, free: 7.488 MB / 0.9323 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.0008552/1.242, allocations: 0.5239 MB / 1.406 GB, free: 6.934 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.242, allocations: 8.031 kB / 1.407 GB, free: 6.926 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/1.243, allocations: 23.81 kB / 1.407 GB, free: 6.902 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/1.243, allocations: 243.3 kB / 1.407 GB, free: 6.637 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/1.243, allocations: 23.98 kB / 1.407 GB, free: 6.613 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/1.243, allocations: 8 kB / 1.407 GB, free: 6.605 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008899/1.244, allocations: 0.6172 MB / 1.407 GB, free: 6.055 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/1.244, allocations: 212.1 kB / 1.408 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.244, allocations: 0 / 1.408 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/1.244, allocations: 0 / 1.408 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/1.244, allocations: 7.906 kB / 1.408 GB, free: 5.859 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/1.245, allocations: 279.9 kB / 1.408 GB, free: 5.574 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/1.245, allocations: 415.7 kB / 1.408 GB, free: 5.234 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/1.246, allocations: 168.2 kB / 1.408 GB, free: 5.102 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004448/1.246, allocations: 384 kB / 1.409 GB, free: 4.66 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/1.246, allocations: 38.5 kB / 1.409 GB, free: 4.617 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/1.246, allocations: 0 / 1.409 GB, free: 4.617 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37): time 0.00309/1.249, allocations: 0.6974 MB / 1.41 GB, free: 3.957 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/1.249, allocations: 55.41 kB / 1.41 GB, free: 3.891 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.249, allocations: 122.4 kB / 1.41 GB, free: 3.773 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/1.249, allocations: 25.7 kB / 1.41 GB, free: 3.742 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/1.249, allocations: 84.78 kB / 1.41 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/1.25, allocations: 121.3 kB / 1.41 GB, free: 3.547 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/1.25, allocations: 0 / 1.41 GB, free: 3.547 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.25, allocations: 330.4 kB / 1.41 GB, free: 3.223 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/1.25, allocations: 131.1 kB / 1.41 GB, free: 3.117 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/1.25, allocations: 138.7 kB / 1.41 GB, free: 3.008 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/1.253, allocations: 498.5 kB / 1.411 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/1.253, allocations: 0 / 1.411 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002877/1.256, allocations: 0.6942 MB / 1.412 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.256, allocations: 9.312 kB / 1.412 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.256, allocations: 4 kB / 1.412 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.256, allocations: 3.984 kB / 1.412 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/1.256, allocations: 111.9 kB / 1.412 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/1.256, allocations: 4 kB / 1.412 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/1.256, allocations: 63.8 kB / 1.412 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/1.256, allocations: 15.73 kB / 1.412 GB, free: 1.68 MB / 0.9323 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.0001107/1.257, allocations: 108.8 kB / 1.412 GB, free: 1.566 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/1.257, allocations: 15.81 kB / 1.412 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/1.26, allocations: 0.7629 MB / 1.413 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/1.26, allocations: 4 kB / 1.413 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.26, allocations: 0 / 1.413 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.26, allocations: 3.984 kB / 1.413 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/1.26, allocations: 280.8 kB / 1.413 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.26, allocations: 0 / 1.413 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/1.26, allocations: 119.5 kB / 1.413 GB, free: 444 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.26, allocations: 8 kB / 1.413 GB, free: 436 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/1.26, allocations: 7.984 kB / 1.413 GB, free: 428 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.26, allocations: 3.906 kB / 1.413 GB, free: 424 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.26, allocations: 0 / 1.413 GB, free: 424 kB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002885/1.263, allocations: 0.7333 MB / 1.414 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/1.263, allocations: 96.86 kB / 1.414 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/1.263, allocations: 0 / 1.414 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.264, allocations: 59.39 kB / 1.414 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/1.264, allocations: 79.05 kB / 1.414 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/1.264, allocations: 19.08 kB / 1.414 GB, free: 15.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.118e-05/1.264, allocations: 98.27 kB / 1.414 GB, free: 15.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003992/1.264, allocations: 111.9 kB / 1.414 GB, free: 15.26 MB / 0.948 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.0005533/1.265, allocations: 258.4 kB / 1.415 GB, free: 15 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005738/1.266, allocations: 346.9 kB / 1.415 GB, free: 14.72 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.266, allocations: 0 / 1.415 GB, free: 14.72 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/1.266, allocations: 203.2 kB / 1.415 GB, free: 14.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/1.266, allocations: 54.52 kB / 1.415 GB, free: 14.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/1.267, allocations: 307.7 kB / 1.415 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/1.267, allocations: 0.782 MB / 1.416 GB, free: 13.41 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/1.267, allocations: 0 / 1.416 GB, free: 13.41 MB / 0.948 GB Notification: Performance of Templates: time 0.01032/1.278, allocations: 6.083 MB / 1.422 GB, free: 7.43 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)