Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.293/2.293, allocations: 284.9 MB / 292.2 MB, free: 9.828 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001676/0.001676, allocations: 183.4 kB / 360.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.1 MB / 0.6188 GB, free: 3.184 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001233, allocations: 99.95 kB / 0.7318 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.12e-05, allocations: 2.594 kB / 0.8502 GB, free: 150.4 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2129, allocations: 115.2 MB / 0.9628 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6108/0.8237, allocations: 137 MB / 1.097 GB, free: 44.54 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.824, allocations: 69.8 kB / 1.097 GB, free: 44.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004302/0.8284, allocations: 0.7667 MB / 1.097 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.8284, allocations: 3.562 kB / 1.097 GB, free: 44.5 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.00055/0.829, allocations: 384.7 kB / 1.098 GB, free: 44.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.829, allocations: 8.25 kB / 1.098 GB, free: 44.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.8291, allocations: 7.781 kB / 1.098 GB, free: 44.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.8292, allocations: 174.1 kB / 1.098 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.8292, allocations: 0 / 1.098 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.8293, allocations: 7.656 kB / 1.098 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001468/0.8294, allocations: 33.75 kB / 1.098 GB, free: 43.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.8296, allocations: 52.77 kB / 1.098 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.8296, allocations: 0.7656 kB / 1.098 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.8296, allocations: 0 / 1.098 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.8296, allocations: 1.062 kB / 1.098 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.8303, allocations: 309.4 kB / 1.098 GB, free: 43.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.8304, allocations: 52.31 kB / 1.098 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.8305, allocations: 20.05 kB / 1.098 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.8308, allocations: 105.9 kB / 1.099 GB, free: 43.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.8308, allocations: 32.64 kB / 1.099 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/0.8308, allocations: 4 kB / 1.099 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003731/0.8312, allocations: 80.08 kB / 1.099 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.8312, allocations: 55.34 kB / 1.099 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.8314, allocations: 111.9 kB / 1.099 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.8314, allocations: 25.7 kB / 1.099 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.8314, allocations: 87.73 kB / 1.099 GB, free: 43.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.8315, allocations: 11.19 kB / 1.099 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-06/0.8315, allocations: 0 / 1.099 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.276e-05/0.8315, allocations: 322.3 kB / 1.099 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.8316, allocations: 14.61 kB / 1.099 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/0.8317, allocations: 14.59 kB / 1.099 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.8318, allocations: 27.03 kB / 1.099 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8318, allocations: 0 / 1.099 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002684/0.8321, allocations: 78.39 kB / 1.099 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8321, allocations: 7.75 kB / 1.099 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.8321, allocations: 0 / 1.099 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.8322, allocations: 0 / 1.099 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.8324, allocations: 27 kB / 1.099 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.8324, allocations: 4.562 kB / 1.099 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.8326, allocations: 30.14 kB / 1.099 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.8327, allocations: 0 / 1.099 GB, free: 42.8 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 6.252e-05/0.8327, allocations: 108.6 kB / 1.1 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.8328, allocations: 0 / 1.1 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.8331, allocations: 101.2 kB / 1.1 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.8331, allocations: 0 / 1.1 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8331, allocations: 0 / 1.1 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.8332, allocations: 0 / 1.1 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.8333, allocations: 163.2 kB / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8334, allocations: 3.938 kB / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.8336, allocations: 19.3 kB / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.8336, allocations: 0 / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.8336, allocations: 0 / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.8336, allocations: 7.781 kB / 1.1 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8336, allocations: 4 kB / 1.1 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002527/0.8339, allocations: 178 kB / 1.1 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.8339, allocations: 89.72 kB / 1.1 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.834, allocations: 0.5 kB / 1.1 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.8342, allocations: 19.38 kB / 1.1 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.8343, allocations: 7.672 kB / 1.1 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.8343, allocations: 0.875 kB / 1.1 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.767e-05/0.8343, allocations: 97.14 kB / 1.1 GB, free: 42.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003146/0.8347, allocations: 11.34 kB / 1.1 GB, free: 42.15 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.000161/0.8348, allocations: 100.9 kB / 1.1 GB, free: 42.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.835, allocations: 40.05 kB / 1.1 GB, free: 42.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.835, allocations: 0 / 1.1 GB, free: 42.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.847e-05/0.8351, allocations: 22.91 kB / 1.1 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.8353, allocations: 3.219 kB / 1.1 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.8357, allocations: 94.45 kB / 1.1 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.836, allocations: 0.7007 MB / 1.101 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of SimCode: time 1.713e-06/0.836, allocations: 0 / 1.101 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of Templates: time 0.003613/0.8397, allocations: 0.7539 MB / 1.102 GB, free: 57.21 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)