Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Biquadratic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.095/4.095, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5377/4.633, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/4.875, allocations: 98.74 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2582/5.133, allocations: 123.7 MB / 0.7491 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004078/5.134, allocations: 71.61 kB / 0.7491 GB, free: 13.89 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.008557/5.142, allocations: 1.143 MB / 0.7503 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/5.142, allocations: 12 kB / 0.7503 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/5.143, allocations: 3.906 kB / 0.7503 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/5.143, allocations: 171 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/5.143, allocations: 0 / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/5.143, allocations: 0 / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002352/5.143, allocations: 31.98 kB / 0.7505 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/5.143, allocations: 49.69 kB / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/5.143, allocations: 0 / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/5.143, allocations: 7.906 kB / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/5.143, allocations: 0 / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/5.145, allocations: 309.4 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/5.145, allocations: 46.47 kB / 0.7509 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/5.145, allocations: 20.86 kB / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004402/5.146, allocations: 109.2 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.812e-05/5.146, allocations: 30.56 kB / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 4.598e-06/5.146, allocations: 0 / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005658/5.146, allocations: 81.52 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/5.146, allocations: 55.34 kB / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/5.147, allocations: 117 kB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/5.147, allocations: 25.7 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/5.147, allocations: 92.06 kB / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/5.147, allocations: 7.906 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/5.147, allocations: 0 / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001812/5.147, allocations: 318.7 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/5.147, allocations: 20 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.181e-05/5.147, allocations: 15.98 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/5.148, allocations: 23.98 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/5.148, allocations: 3.938 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004168/5.148, allocations: 77.66 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/5.148, allocations: 11.91 kB / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/5.148, allocations: 0 / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/5.148, allocations: 0 / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/5.149, allocations: 27.92 kB / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/5.149, allocations: 0 / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/5.149, allocations: 19.97 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/5.149, allocations: 4 kB / 0.7519 GB, free: 10.87 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 0.0001254/5.149, allocations: 105 kB / 0.752 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/5.149, allocations: 7.906 kB / 0.752 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/5.15, allocations: 85.84 kB / 0.7521 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/5.15, allocations: 8.031 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/5.15, allocations: 3.984 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/5.15, allocations: 3.906 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/5.15, allocations: 154.2 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/5.15, allocations: 4 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/5.151, allocations: 27.98 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/5.151, allocations: 0 / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/5.151, allocations: 0 / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/5.151, allocations: 3.938 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/5.151, allocations: 0 / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004784/5.151, allocations: 179.4 kB / 0.7524 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006312/5.152, allocations: 0.5388 MB / 0.753 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/5.152, allocations: 81.11 kB / 0.753 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/5.152, allocations: 3.906 kB / 0.753 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/5.152, allocations: 19.98 kB / 0.7531 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/5.152, allocations: 7.984 kB / 0.7531 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/5.153, allocations: 0 / 0.7531 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001332/5.153, allocations: 99.77 kB / 0.7532 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001857/5.155, allocations: 15.94 kB / 0.7532 GB, free: 9.418 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.0003197/5.155, allocations: 111.2 kB / 0.7533 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002667/5.155, allocations: 35.92 kB / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/5.155, allocations: 0 / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/5.155, allocations: 20 kB / 0.7533 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/5.156, allocations: 4 kB / 0.7533 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/5.156, allocations: 107.6 kB / 0.7534 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/5.157, allocations: 0.6993 MB / 0.7541 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of SimCode: time 1.503e-06/5.157, allocations: 0 / 0.7541 GB, free: 8.387 MB / 0.6355 GB