Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.919/2.919, allocations: 248.6 MB / 255.9 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001745/0.001745, allocations: 191.6 kB / 315.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.87/2.87, allocations: 205.1 MB / 0.5658 GB, free: 412 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002011/0.00201, allocations: 95.25 kB / 0.67 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5448/0.5469, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.8028, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7657/1.569, allocations: 131.7 MB / 1.012 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003963/1.569, allocations: 74.7 kB / 1.012 GB, free: 8.48 MB / 0.6355 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.006524/1.576, allocations: 1.149 MB / 1.013 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.576, allocations: 8 kB / 1.013 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/1.576, allocations: 11.91 kB / 1.013 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/1.576, allocations: 175 kB / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/1.576, allocations: 0 / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/1.576, allocations: 4 kB / 1.013 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001735/1.576, allocations: 30.3 kB / 1.014 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/1.576, allocations: 52.8 kB / 1.014 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/1.576, allocations: 0 / 1.014 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/1.576, allocations: 8.734 kB / 1.014 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.576, allocations: 0 / 1.014 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008864/1.577, allocations: 313 kB / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/1.577, allocations: 41.56 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/1.578, allocations: 27.56 kB / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/1.578, allocations: 109 kB / 1.014 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/1.578, allocations: 30.56 kB / 1.014 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.835e-06/1.578, allocations: 0 / 1.014 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003884/1.578, allocations: 89.62 kB / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.578, allocations: 51.41 kB / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/1.579, allocations: 117.7 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/1.579, allocations: 25.7 kB / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/1.579, allocations: 91.2 kB / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/1.579, allocations: 3.906 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/1.579, allocations: 0 / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.579, allocations: 321.6 kB / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/1.579, allocations: 14.75 kB / 1.015 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.672e-05/1.579, allocations: 14.98 kB / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/1.579, allocations: 26.84 kB / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.579, allocations: 7.906 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002684/1.579, allocations: 69.86 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.579, allocations: 8 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.579, allocations: 4 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.58, allocations: 3.906 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/1.58, allocations: 30.59 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.58, allocations: 0 / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/1.58, allocations: 23.98 kB / 1.015 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/1.58, allocations: 0 / 1.015 GB, free: 5.641 MB / 0.6355 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 9.966e-05/1.58, allocations: 105 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/1.58, allocations: 3.906 kB / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/1.581, allocations: 95.39 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.581, allocations: 0 / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.581, allocations: 4 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.581, allocations: 0 / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/1.581, allocations: 163.7 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.581, allocations: 0 / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/1.581, allocations: 23.98 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/1.581, allocations: 0 / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/1.581, allocations: 0 / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-05/1.581, allocations: 4 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.581, allocations: 7.922 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003366/1.582, allocations: 165.4 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004736/1.582, allocations: 0.5545 MB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/1.582, allocations: 77.11 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/1.582, allocations: 0 / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/1.582, allocations: 27.88 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/1.583, allocations: 4 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/1.583, allocations: 0 / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.312e-05/1.583, allocations: 98.33 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001238/1.584, allocations: 15.94 kB / 1.016 GB, free: 4.258 MB / 0.6355 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.00022/1.584, allocations: 107.1 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001727/1.584, allocations: 33.12 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.584, allocations: 4 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/1.584, allocations: 15.75 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/1.585, allocations: 10.64 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/1.585, allocations: 98.36 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/1.586, allocations: 0.7065 MB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/1.586, allocations: 0 / 1.017 GB, free: 3.258 MB / 0.6355 GB