Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Polynominal.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.Polynominal,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_Polynominal",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.282/2.282, allocations: 248.6 MB / 255.9 MB, free: 7.242 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.001747/0.001746, allocations: 187 kB / 315.1 MB, free: 4.281 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.762/1.762, allocations: 205.1 MB / 0.5658 GB, free: 388 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.001261/0.001261, allocations: 86.47 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4399/0.4412, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.6553, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6303/1.286, allocations: 131.7 MB / 1.012 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003831/1.286, allocations: 73.39 kB / 1.012 GB, free: 8.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.005766/1.292, allocations: 0.8236 MB / 1.013 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/1.292, allocations: 11.94 kB / 1.013 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/1.292, allocations: 0 / 1.013 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/1.292, allocations: 171 kB / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/1.292, allocations: 0 / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/1.292, allocations: 0 / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001573/1.293, allocations: 19.5 kB / 1.013 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/1.293, allocations: 37.69 kB / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.293, allocations: 0 / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/1.293, allocations: 0 / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/1.293, allocations: 0 / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007301/1.294, allocations: 260.1 kB / 1.013 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/1.294, allocations: 30.27 kB / 1.013 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/1.294, allocations: 16.41 kB / 1.013 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-05/1.294, allocations: 2.625 kB / 1.013 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/1.294, allocations: 34.56 kB / 1.013 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.385e-06/1.294, allocations: 0 / 1.013 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003983/1.294, allocations: 56.95 kB / 1.014 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.294, allocations: 55.34 kB / 1.014 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/1.295, allocations: 98.81 kB / 1.014 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/1.295, allocations: 25.7 kB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/1.295, allocations: 83.83 kB / 1.014 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/1.295, allocations: 7.844 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/1.295, allocations: 0 / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.295, allocations: 318.8 kB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/1.295, allocations: 11.53 kB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.464e-05/1.295, allocations: 7.062 kB / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/1.295, allocations: 7.984 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.295, allocations: 0 / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002268/1.296, allocations: 45.42 kB / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.296, allocations: 4 kB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.296, allocations: 4 kB / 1.014 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.296, allocations: 0 / 1.014 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/1.296, allocations: 19.39 kB / 1.014 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/1.296, allocations: 0 / 1.014 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/1.296, allocations: 11.98 kB / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/1.296, allocations: 3.938 kB / 1.014 GB, free: 6.281 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 (2): * Single equations (assignments): 2 * 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.0001191/1.296, allocations: 103 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/1.296, allocations: 15.84 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/1.297, allocations: 59.75 kB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.297, allocations: 0 / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.297, allocations: 4 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.297, allocations: 0 / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/1.297, allocations: 142.8 kB / 1.015 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.297, allocations: 0 / 1.015 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/1.297, allocations: 20.02 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.297, allocations: 0 / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/1.297, allocations: 0 / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/1.297, allocations: 0.5625 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.297, allocations: 0 / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002037/1.297, allocations: 147.3 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003313/1.298, allocations: 0.5152 MB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/1.298, allocations: 81.36 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/1.298, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/1.298, allocations: 12 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/1.298, allocations: 6.859 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/1.298, allocations: 4.031 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.994e-05/1.298, allocations: 82.47 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00111/1.299, allocations: 15.91 kB / 1.015 GB, free: 5.012 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 (2): * Single equations (assignments): 2 * 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.0001957/1.3, allocations: 103.2 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001111/1.3, allocations: 19.88 kB / 1.016 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.3, allocations: 0 / 1.016 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/1.3, allocations: 7.5 kB / 1.016 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/1.3, allocations: 8.125 kB / 1.016 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/1.3, allocations: 73.12 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/1.301, allocations: 0.688 MB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/1.301, allocations: 0 / 1.016 GB, free: 4.07 MB / 0.6355 GB