Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") [: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/Complex 4.0.0+maint.om/package.mo): time 0.0009611/0.0009612, allocations: 186.9 kB / 7.8 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4448/0.4448, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 221.4 MB / 342.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 94.12 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/7.013e-06, allocations: 0 / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3484, allocations: 72.3 MB / 0.5529 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4596, allocations: 100.7 MB / 0.6513 GB, free: 9.266 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.46, allocations: 69.28 kB / 0.6513 GB, free: 9.199 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003116/0.4631, allocations: 0.795 MB / 0.6521 GB, free: 8.434 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.4631, allocations: 4.562 kB / 0.6521 GB, free: 8.43 MB / 474.7 MB 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.0004412/0.4635, allocations: 379.2 kB / 0.6525 GB, free: 8.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4636, allocations: 8.75 kB / 0.6525 GB, free: 8.012 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.4636, allocations: 9.719 kB / 0.6525 GB, free: 8.004 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.4638, allocations: 175.4 kB / 0.6527 GB, free: 7.793 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4638, allocations: 0 / 0.6527 GB, free: 7.793 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.4638, allocations: 4.938 kB / 0.6527 GB, free: 7.789 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/0.4639, allocations: 27.98 kB / 0.6527 GB, free: 7.762 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.757e-05/0.464, allocations: 54.19 kB / 0.6527 GB, free: 7.707 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.4641, allocations: 0 / 0.6527 GB, free: 7.707 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4641, allocations: 4 kB / 0.6528 GB, free: 7.703 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4641, allocations: 4.469 kB / 0.6528 GB, free: 7.699 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.4646, allocations: 310.7 kB / 0.6531 GB, free: 7.363 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.186e-05/0.4647, allocations: 43.94 kB / 0.6531 GB, free: 7.312 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.4648, allocations: 20.86 kB / 0.6531 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.465, allocations: 111.8 kB / 0.6532 GB, free: 7.164 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.465, allocations: 35.19 kB / 0.6533 GB, free: 7.121 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.465, allocations: 0 / 0.6533 GB, free: 7.121 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002571/0.4653, allocations: 70.17 kB / 0.6533 GB, free: 7.047 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.4653, allocations: 60.67 kB / 0.6534 GB, free: 6.977 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.4654, allocations: 117.6 kB / 0.6535 GB, free: 6.855 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.4654, allocations: 25.7 kB / 0.6535 GB, free: 6.824 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.4655, allocations: 88.77 kB / 0.6536 GB, free: 6.734 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.4655, allocations: 4.406 kB / 0.6536 GB, free: 6.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.4655, allocations: 0.6562 kB / 0.6536 GB, free: 6.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4656, allocations: 322.7 kB / 0.6539 GB, free: 6.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.432e-05/0.4657, allocations: 16 kB / 0.6539 GB, free: 6.395 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.4657, allocations: 16.58 kB / 0.6539 GB, free: 6.379 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.168e-05/0.4658, allocations: 24.5 kB / 0.654 GB, free: 6.355 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4658, allocations: 0 / 0.654 GB, free: 6.355 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001557/0.466, allocations: 82.55 kB / 0.654 GB, free: 6.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.466, allocations: 4 kB / 0.6541 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.466, allocations: 0.75 kB / 0.6541 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.466, allocations: 0 / 0.6541 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4662, allocations: 30.72 kB / 0.6541 GB, free: 6.238 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.4662, allocations: 3.906 kB / 0.6541 GB, free: 6.234 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.922e-05/0.4663, allocations: 27.92 kB / 0.6541 GB, free: 6.207 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.4663, allocations: 0 / 0.6541 GB, free: 6.207 MB / 474.7 MB 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 6.581e-05/0.4664, allocations: 101 kB / 0.6542 GB, free: 6.102 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.4664, allocations: 7.906 kB / 0.6542 GB, free: 6.094 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.4667, allocations: 89.64 kB / 0.6543 GB, free: 5.996 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4667, allocations: 240 / 0.6543 GB, free: 5.996 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4667, allocations: 4 kB / 0.6543 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4667, allocations: 3.984 kB / 0.6543 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.4668, allocations: 166.1 kB / 0.6545 GB, free: 5.789 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4669, allocations: 0 / 0.6545 GB, free: 5.789 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.467, allocations: 27.97 kB / 0.6545 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.467, allocations: 3.938 kB / 0.6545 GB, free: 5.758 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.467, allocations: 1.625 kB / 0.6545 GB, free: 5.758 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.467, allocations: 4 kB / 0.6545 GB, free: 5.754 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.467, allocations: 4 kB / 0.6545 GB, free: 5.75 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000195/0.4672, allocations: 175.4 kB / 0.6547 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.4673, allocations: 84.95 kB / 0.6548 GB, free: 5.461 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.4673, allocations: 0 / 0.6548 GB, free: 5.461 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4674, allocations: 23.98 kB / 0.6548 GB, free: 5.438 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.4675, allocations: 3.984 kB / 0.6548 GB, free: 5.434 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.4675, allocations: 4 kB / 0.6548 GB, free: 5.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.526e-05/0.4675, allocations: 100.9 kB / 0.6549 GB, free: 5.332 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.4678, allocations: 11.91 kB / 0.6549 GB, free: 5.32 MB / 474.7 MB 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.000133/0.4679, allocations: 103.7 kB / 0.655 GB, free: 5.215 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.468, allocations: 39.98 kB / 0.655 GB, free: 5.176 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.468, allocations: 0 / 0.655 GB, free: 5.176 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.4681, allocations: 19.94 kB / 0.655 GB, free: 5.156 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.4682, allocations: 0 / 0.655 GB, free: 5.156 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.4685, allocations: 91.81 kB / 0.6551 GB, free: 5.039 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.4688, allocations: 0.7071 MB / 0.6558 GB, free: 4.309 MB / 474.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4688, allocations: 0 / 0.6558 GB, free: 4.309 MB / 474.7 MB Notification: Performance of Templates: time 0.002819/0.4717, allocations: 0.7369 MB / 0.6565 GB, free: 3.605 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)