Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial",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 3.425/3.425, allocations: 248.6 MB / 255.9 MB, free: 1.574 MB / 195.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 196.2 kB / 315.1 MB, free: 10.01 MB / 259.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.544/2.544, allocations: 205.1 MB / 0.5658 GB, free: 14.43 MB / 435.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 86.89 kB / 0.67 GB, free: 52.32 MB / 499.1 MB Notification: Performance of FrontEnd - loaded program: time 0.2806/0.2819, allocations: 112.4 MB / 0.7797 GB, free: 10.96 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.5719, allocations: 106.3 MB / 0.8835 GB, free: 0.6094 MB / 0.6437 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7139/1.286, allocations: 130 MB / 1.01 GB, free: 1.199 MB / 0.6437 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/1.286, allocations: 72.64 kB / 1.01 GB, free: 1.133 MB / 0.6437 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002503/1.289, allocations: 481.8 kB / 1.011 GB, free: 0.6328 MB / 0.6437 GB Notification: Performance of prepare preOptimizeDAE: time 6.916e-05/1.289, allocations: 9.641 kB / 1.011 GB, free: 0.625 MB / 0.6437 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/1.289, allocations: 0 / 1.011 GB, free: 0.625 MB / 0.6437 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/1.289, allocations: 166.5 kB / 1.011 GB, free: 436 kB / 0.6437 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/1.289, allocations: 0 / 1.011 GB, free: 436 kB / 0.6437 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/1.289, allocations: 0 / 1.011 GB, free: 436 kB / 0.6437 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.392e-05/1.289, allocations: 4 kB / 1.011 GB, free: 432 kB / 0.6437 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.639e-05/1.289, allocations: 29.69 kB / 1.011 GB, free: 396 kB / 0.6437 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.289, allocations: 0 / 1.011 GB, free: 396 kB / 0.6437 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/1.289, allocations: 1.031 kB / 1.011 GB, free: 396 kB / 0.6437 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/1.289, allocations: 4 kB / 1.011 GB, free: 392 kB / 0.6437 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/1.29, allocations: 128.3 kB / 1.011 GB, free: 228 kB / 0.6437 GB Notification: Performance of preOpt comSubExp (simulation): time 5.733e-05/1.29, allocations: 18.58 kB / 1.011 GB, free: 200 kB / 0.6437 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/1.29, allocations: 8.953 kB / 1.011 GB, free: 188 kB / 0.6437 GB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/1.29, allocations: 5.094 kB / 1.011 GB, free: 184 kB / 0.6437 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/1.29, allocations: 30.56 kB / 1.011 GB, free: 144 kB / 0.6437 GB Notification: Performance of pre-optimization done (n=1): time 2.315e-06/1.29, allocations: 1.594 kB / 1.011 GB, free: 144 kB / 0.6437 GB Notification: Performance of matching and sorting (n=1): time 0.0003045/1.29, allocations: 35.12 kB / 1.011 GB, free: 104 kB / 0.6437 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/1.29, allocations: 51.41 kB / 1.011 GB, free: 40 kB / 0.6437 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/1.29, allocations: 89 kB / 1.011 GB, free: 15.95 MB / 0.6593 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/1.291, allocations: 26.55 kB / 1.012 GB, free: 15.91 MB / 0.6593 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/1.291, allocations: 80.14 kB / 1.012 GB, free: 15.83 MB / 0.6593 GB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/1.291, allocations: 5.031 kB / 1.012 GB, free: 15.82 MB / 0.6593 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/1.291, allocations: 0 / 1.012 GB, free: 15.82 MB / 0.6593 GB Notification: Performance of setup shared object (initialization): time 0.0003815/1.291, allocations: 315.5 kB / 1.012 GB, free: 15.51 MB / 0.6593 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/1.291, allocations: 0 / 1.012 GB, free: 15.51 MB / 0.6593 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/1.291, allocations: 6.219 kB / 1.012 GB, free: 15.5 MB / 0.6593 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/1.291, allocations: 0.5938 kB / 1.012 GB, free: 15.5 MB / 0.6593 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.291, allocations: 1.438 kB / 1.012 GB, free: 15.5 MB / 0.6593 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003431/1.292, allocations: 41.62 kB / 1.012 GB, free: 15.46 MB / 0.6593 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/1.292, allocations: 4 kB / 1.012 GB, free: 15.45 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.292, allocations: 2.844 kB / 1.012 GB, free: 15.45 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.292, allocations: 0 / 1.012 GB, free: 15.45 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/1.292, allocations: 4 kB / 1.012 GB, free: 15.45 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.292, allocations: 0.75 kB / 1.012 GB, free: 15.45 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/1.292, allocations: 7.844 kB / 1.012 GB, free: 15.44 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/1.292, allocations: 0.9375 kB / 1.012 GB, free: 15.44 MB / 0.6593 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 (1): * Single equations (assignments): 1 * 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.0001539/1.292, allocations: 102.2 kB / 1.012 GB, free: 15.34 MB / 0.6593 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/1.292, allocations: 4 kB / 1.012 GB, free: 15.33 MB / 0.6593 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/1.293, allocations: 44.77 kB / 1.012 GB, free: 15.29 MB / 0.6593 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.293, allocations: 3.938 kB / 1.012 GB, free: 15.29 MB / 0.6593 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.293, allocations: 8.688 kB / 1.012 GB, free: 15.28 MB / 0.6593 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.293, allocations: 2.438 kB / 1.012 GB, free: 15.28 MB / 0.6593 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/1.293, allocations: 137.2 kB / 1.012 GB, free: 15.11 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/1.293, allocations: 0 / 1.012 GB, free: 15.11 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/1.293, allocations: 0 / 1.012 GB, free: 15.11 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/1.293, allocations: 4.562 kB / 1.012 GB, free: 15.11 MB / 0.6593 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/1.293, allocations: 0.6875 kB / 1.012 GB, free: 15.11 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.293, allocations: 0 / 1.012 GB, free: 15.11 MB / 0.6593 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.293, allocations: 0.8438 kB / 1.012 GB, free: 15.11 MB / 0.6593 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002944/1.294, allocations: 62.88 kB / 1.012 GB, free: 15.03 MB / 0.6593 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004592/1.294, allocations: 441.6 kB / 1.013 GB, free: 14.58 MB / 0.6593 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/1.294, allocations: 81.11 kB / 1.013 GB, free: 14.48 MB / 0.6593 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/1.294, allocations: 0 / 1.013 GB, free: 14.48 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.32e-05/1.294, allocations: 3.906 kB / 1.013 GB, free: 14.48 MB / 0.6593 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/1.294, allocations: 0 / 1.013 GB, free: 14.48 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/1.295, allocations: 0 / 1.013 GB, free: 14.48 MB / 0.6593 GB Notification: Performance of sort global known variables: time 5.784e-05/1.295, allocations: 75.28 kB / 1.013 GB, free: 14.41 MB / 0.6593 GB Notification: Performance of remove unused functions: time 0.002695/1.297, allocations: 8 kB / 1.013 GB, free: 14.4 MB / 0.6593 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 (1): * Single equations (assignments): 1 * 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.0003665/1.298, allocations: 110.1 kB / 1.013 GB, free: 14.29 MB / 0.6593 GB Notification: Performance of simCode: created initialization part: time 0.0001268/1.298, allocations: 8 kB / 1.013 GB, free: 14.28 MB / 0.6593 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.298, allocations: 0 / 1.013 GB, free: 14.28 MB / 0.6593 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-05/1.298, allocations: 0 / 1.013 GB, free: 14.28 MB / 0.6593 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/1.298, allocations: 5.062 kB / 1.013 GB, free: 14.28 MB / 0.6593 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/1.298, allocations: 51.33 kB / 1.013 GB, free: 14.21 MB / 0.6593 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/1.299, allocations: 0.6841 MB / 1.014 GB, free: 13.5 MB / 0.6593 GB Notification: Performance of SimCode: time 1.713e-06/1.299, allocations: 5.75 kB / 1.014 GB, free: 13.49 MB / 0.6593 GB