Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) [: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.0.1-maint.8.0.x/package.mo): time 1.424/1.424, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001047/0.001047, allocations: 189.3 kB / 361.1 MB, free: 7.109 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.233/1.233, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.0008691/0.000869, allocations: 92.88 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2115/0.2124, allocations: 121.4 MB / 0.8511 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.7078, allocations: 115.3 MB / 0.9637 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.8585, allocations: 137.2 MB / 1.098 GB, free: 2.891 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.8587, allocations: 72.94 kB / 1.098 GB, free: 2.82 MB / 0.698 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.003225/0.8619, allocations: 1.15 MB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.862, allocations: 9.031 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.862, allocations: 7.906 kB / 1.099 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.8621, allocations: 175.6 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.8621, allocations: 0 / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.8622, allocations: 7.531 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.749e-05/0.8623, allocations: 32.8 kB / 1.099 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.435e-05/0.8624, allocations: 50.23 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.8624, allocations: 4.75 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.8624, allocations: 0 / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.8624, allocations: 0.5625 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.8629, allocations: 313.3 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.799e-05/0.863, allocations: 47.08 kB / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.863, allocations: 20.86 kB / 1.1 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.8632, allocations: 109.2 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.8632, allocations: 38.33 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.8632, allocations: 0.6562 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002146/0.8635, allocations: 74.09 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.8635, allocations: 55.41 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/0.8636, allocations: 109 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.8636, allocations: 29.7 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.8636, allocations: 92.12 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.8636, allocations: 7.812 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.8637, allocations: 0.6562 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.8637, allocations: 318.8 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.8638, allocations: 15.98 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.8638, allocations: 12.89 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.8639, allocations: 32.02 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.8639, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001415/0.8641, allocations: 85.45 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.8641, allocations: 4.938 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.8641, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.8641, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.8643, allocations: 19.98 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.8643, allocations: 8 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.114e-05/0.8644, allocations: 15.98 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.8644, allocations: 2.25 kB / 1.101 GB, free: 15.86 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.424e-05/0.8645, allocations: 112.9 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.8645, allocations: 11.89 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.8647, allocations: 86.31 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.8647, allocations: 7.188 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.8648, allocations: 0 / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.8648, allocations: 0 / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.8649, allocations: 158.1 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8649, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.865, allocations: 29.47 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.865, allocations: 3.906 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.8651, allocations: 4 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8651, allocations: 0 / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8651, allocations: 0.75 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001789/0.8653, allocations: 173.7 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002676/0.8655, allocations: 0.5511 MB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.8656, allocations: 81.02 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.8656, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.8657, allocations: 23.98 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.8658, allocations: 3.984 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.8658, allocations: 5.5 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.194e-05/0.8658, allocations: 99.98 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007563/0.8666, allocations: 23.84 kB / 1.102 GB, free: 14.4 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.0001208/0.8667, allocations: 99.03 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.046e-05/0.8668, allocations: 35.98 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8668, allocations: 4 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.8669, allocations: 16 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.867, allocations: 3.938 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.8673, allocations: 98.25 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.8675, allocations: 0.7032 MB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of SimCode: time 1.403e-06/0.8676, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)