Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.535/1.535, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001121/0.001121, allocations: 185.3 kB / 366.3 MB, free: 1.957 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.368/1.368, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0008708/0.0008706, allocations: 79.7 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.114e-06/7.134e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6601, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.8363, allocations: 138.2 MB / 1.107 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.8366, allocations: 73.52 kB / 1.108 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003423/0.84, allocations: 0.7841 MB / 1.108 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.8401, allocations: 0 / 1.108 GB, free: 9.461 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.0006068/0.8407, allocations: 378.2 kB / 1.109 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/0.8408, allocations: 16.03 kB / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.8408, allocations: 3.906 kB / 1.109 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.8411, allocations: 173 kB / 1.109 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.8411, allocations: 7.906 kB / 1.109 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.8411, allocations: 0 / 1.109 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001587/0.8413, allocations: 35.98 kB / 1.109 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.8414, allocations: 49.67 kB / 1.109 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.8415, allocations: 0.5625 kB / 1.109 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.8415, allocations: 0 / 1.109 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.8415, allocations: 0 / 1.109 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/0.8422, allocations: 313.4 kB / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.8424, allocations: 46.5 kB / 1.109 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.8424, allocations: 24.94 kB / 1.109 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.8427, allocations: 105.8 kB / 1.109 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.8427, allocations: 34.56 kB / 1.109 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.8427, allocations: 0 / 1.109 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003133/0.843, allocations: 81.55 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.8431, allocations: 51.41 kB / 1.11 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.8432, allocations: 113 kB / 1.11 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.8432, allocations: 25.7 kB / 1.11 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.8433, allocations: 93.34 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.8433, allocations: 15.75 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.8433, allocations: 0 / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8435, allocations: 314.8 kB / 1.11 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.8435, allocations: 19.98 kB / 1.11 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.8436, allocations: 12 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.802e-05/0.8437, allocations: 23.97 kB / 1.11 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8437, allocations: 0 / 1.11 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001732/0.8439, allocations: 81.56 kB / 1.11 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.8439, allocations: 8 kB / 1.11 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.8439, allocations: 0 / 1.11 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.8439, allocations: 4 kB / 1.11 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.8441, allocations: 23.92 kB / 1.11 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.8441, allocations: 4.562 kB / 1.11 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.531e-05/0.8442, allocations: 23.97 kB / 1.11 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.8442, allocations: 4 kB / 1.11 GB, free: 7.203 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 8.237e-05/0.8443, allocations: 104.9 kB / 1.11 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.8444, allocations: 15.84 kB / 1.11 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.8446, allocations: 89.64 kB / 1.111 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.8446, allocations: 0.6562 kB / 1.111 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.8446, allocations: 0 / 1.111 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8446, allocations: 0 / 1.111 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.8448, allocations: 158.2 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.8448, allocations: 0 / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.8449, allocations: 27.98 kB / 1.111 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.8449, allocations: 3.906 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.845, allocations: 0.6562 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.845, allocations: 0 / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.845, allocations: 0 / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002192/0.8452, allocations: 175.4 kB / 1.111 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.8453, allocations: 96.94 kB / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.8453, allocations: 0 / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.8454, allocations: 15.98 kB / 1.111 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.8455, allocations: 4.656 kB / 1.111 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.8455, allocations: 3.984 kB / 1.111 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.428e-05/0.8456, allocations: 101.8 kB / 1.111 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002296/0.8458, allocations: 12 kB / 1.111 GB, free: 6.324 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.0001863/0.846, allocations: 103.2 kB / 1.111 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.8461, allocations: 28 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8461, allocations: 4 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.8462, allocations: 20.59 kB / 1.111 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.8463, allocations: 11.89 kB / 1.111 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.8467, allocations: 92.66 kB / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/0.847, allocations: 0.7032 MB / 1.112 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.847, allocations: 3.938 kB / 1.112 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of Templates: time 0.002893/0.8499, allocations: 0.741 MB / 1.113 GB, free: 4.594 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)