Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.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.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic") [: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.459/1.459, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001048/0.001047, allocations: 177.3 kB / 366.3 MB, free: 2.043 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.367/1.367, allocations: 205.1 MB / 0.6256 GB, free: 5.938 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009113/0.0009113, allocations: 84.7 kB / 0.7395 GB, free: 39.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.905e-06, allocations: 0 / 0.859 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6857, allocations: 116.3 MB / 0.9726 GB, free: 67.95 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.8621, allocations: 138.2 MB / 1.107 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.8623, allocations: 68.66 kB / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003175/0.8655, allocations: 0.7813 MB / 1.108 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.8656, allocations: 0 / 1.108 GB, free: 9.547 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005552/0.8661, allocations: 378.2 kB / 1.109 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.8662, allocations: 8.031 kB / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.8663, allocations: 11.89 kB / 1.109 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.8665, allocations: 174.5 kB / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.8665, allocations: 0 / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.8665, allocations: 4 kB / 1.109 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001436/0.8667, allocations: 35.98 kB / 1.109 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.8668, allocations: 45.69 kB / 1.109 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8668, allocations: 0 / 1.109 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.8668, allocations: 0 / 1.109 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.8668, allocations: 4 kB / 1.109 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.8675, allocations: 315.5 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.8676, allocations: 50.5 kB / 1.109 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.8676, allocations: 20.86 kB / 1.109 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.8679, allocations: 111.4 kB / 1.109 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.8679, allocations: 34.56 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.8679, allocations: 0 / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002903/0.8682, allocations: 69.58 kB / 1.11 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.8683, allocations: 59.41 kB / 1.11 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.8684, allocations: 113 kB / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.8684, allocations: 25.7 kB / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.8685, allocations: 88.12 kB / 1.11 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.8685, allocations: 11.81 kB / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.8685, allocations: 3.938 kB / 1.11 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8687, allocations: 318.8 kB / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.12e-05/0.8687, allocations: 12 kB / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.8687, allocations: 19.98 kB / 1.11 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.911e-05/0.8688, allocations: 23.98 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8688, allocations: 4 kB / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001636/0.869, allocations: 77.56 kB / 1.11 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.869, allocations: 4 kB / 1.11 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.869, allocations: 3.938 kB / 1.11 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.8691, allocations: 0 / 1.11 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.8692, allocations: 27.98 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.8692, allocations: 0 / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.175e-05/0.8693, allocations: 15.98 kB / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.8694, allocations: 7.984 kB / 1.11 GB, free: 7.301 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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 7.84e-05/0.8694, allocations: 112.9 kB / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.8695, allocations: 5.125 kB / 1.11 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.8697, allocations: 97.59 kB / 1.11 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.8697, allocations: 240 / 1.11 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8697, allocations: 0 / 1.11 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.8697, allocations: 7.969 kB / 1.11 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.8699, allocations: 154.2 kB / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.87, allocations: 0 / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.8701, allocations: 23.98 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.8701, allocations: 7.906 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.8701, allocations: 0 / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.8701, allocations: 0 / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8701, allocations: 0 / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002363/0.8704, allocations: 179.4 kB / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.8704, allocations: 85.86 kB / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.8705, allocations: 0 / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.8706, allocations: 15.98 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.8707, allocations: 11.98 kB / 1.111 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.8707, allocations: 4 kB / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001193/0.8708, allocations: 95.27 kB / 1.111 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000246/0.8711, allocations: 11.94 kB / 1.111 GB, free: 6.418 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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.0001788/0.8712, allocations: 99.25 kB / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.8714, allocations: 31.98 kB / 1.111 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8714, allocations: 1.875 kB / 1.111 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.8714, allocations: 23.94 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.8716, allocations: 11.91 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.8719, allocations: 91.8 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.8722, allocations: 0.7032 MB / 1.112 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8722, allocations: 0 / 1.112 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of Templates: time 0.002808/0.875, allocations: 0.7371 MB / 1.113 GB, free: 4.699 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)