Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear",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.129/2.129, allocations: 248.6 MB / 255.9 MB, free: 7.176 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.001603/0.001603, allocations: 173.3 kB / 315.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.1 MB / 0.5658 GB, free: 296 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.00122/0.00122, allocations: 83.28 kB / 0.67 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4762/0.4774, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.6701, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6041/1.274, allocations: 131.7 MB / 1.012 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.275, allocations: 67.14 kB / 1.012 GB, free: 8.402 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.005351/1.28, allocations: 1.16 MB / 1.013 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.28, allocations: 12 kB / 1.013 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/1.28, allocations: 12.53 kB / 1.013 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.28, allocations: 171.7 kB / 1.013 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/1.28, allocations: 4 kB / 1.013 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/1.28, allocations: 4 kB / 1.013 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001546/1.28, allocations: 34.92 kB / 1.014 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/1.28, allocations: 51.67 kB / 1.014 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/1.281, allocations: 0 / 1.014 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/1.281, allocations: 0 / 1.014 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.281, allocations: 3.938 kB / 1.014 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/1.281, allocations: 308.1 kB / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/1.281, allocations: 48.62 kB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.963e-05/1.282, allocations: 24.12 kB / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/1.282, allocations: 108.7 kB / 1.014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/1.282, allocations: 34.56 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/1.282, allocations: 0 / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003389/1.282, allocations: 75.97 kB / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/1.282, allocations: 55.31 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/1.282, allocations: 117 kB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/1.282, allocations: 28.33 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/1.283, allocations: 80.14 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/1.283, allocations: 11.28 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/1.283, allocations: 0 / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.283, allocations: 321.7 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/1.283, allocations: 15.5 kB / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.335e-05/1.283, allocations: 18.98 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/1.283, allocations: 23.78 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.283, allocations: 0 / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002522/1.283, allocations: 75.47 kB / 1.015 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.283, allocations: 11.11 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.283, allocations: 48 / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.283, allocations: 7.984 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/1.284, allocations: 27.89 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/1.284, allocations: 0 / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/1.284, allocations: 19.98 kB / 1.015 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/1.284, allocations: 4 kB / 1.015 GB, free: 5.559 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 8.042e-05/1.284, allocations: 104.9 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/1.284, allocations: 11.89 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/1.284, allocations: 86.72 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.284, allocations: 0 / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.284, allocations: 0 / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.284, allocations: 4 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/1.285, allocations: 163.3 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.285, allocations: 7.922 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/1.285, allocations: 23.98 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/1.285, allocations: 0 / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/1.285, allocations: 0 / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.285, allocations: 7.438 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.285, allocations: 0 / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002876/1.285, allocations: 177.7 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004107/1.286, allocations: 0.5407 MB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/1.286, allocations: 96.89 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/1.286, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/1.286, allocations: 19.97 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/1.286, allocations: 3.906 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.286, allocations: 4 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.632e-05/1.286, allocations: 105.5 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001105/1.287, allocations: 8 kB / 1.016 GB, free: 4.168 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.000174/1.287, allocations: 103.2 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001465/1.288, allocations: 37.73 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.288, allocations: 0 / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.252e-05/1.288, allocations: 18.94 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/1.288, allocations: 4.703 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/1.288, allocations: 97.91 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/1.289, allocations: 0.7103 MB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/1.289, allocations: 0 / 1.017 GB, free: 3.168 MB / 0.6355 GB