Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.506/1.506, allocations: 285.5 MB / 292.8 MB, free: 9.816 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009624/0.0009624, allocations: 185.2 kB / 361.1 MB, free: 420 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.14/1.14, allocations: 205.1 MB / 0.6195 GB, free: 2.906 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007964/0.0007965, allocations: 100.1 kB / 0.7326 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4706/0.4714, allocations: 121.4 MB / 0.8511 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.6846, allocations: 115.3 MB / 0.9638 GB, free: 56.31 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.54/1.225, allocations: 137.1 MB / 1.098 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/1.225, allocations: 71.16 kB / 1.098 GB, free: 44.04 MB / 0.7136 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.002413/1.227, allocations: 0.8172 MB / 1.099 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/1.227, allocations: 8.5 kB / 1.099 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/1.227, allocations: 7.781 kB / 1.099 GB, free: 43.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.85e-05/1.228, allocations: 159.1 kB / 1.099 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/1.228, allocations: 4.641 kB / 1.099 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/1.228, allocations: 0 / 1.099 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.764e-05/1.228, allocations: 17.03 kB / 1.099 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.139e-05/1.228, allocations: 43.59 kB / 1.099 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/1.228, allocations: 0 / 1.099 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/1.228, allocations: 1.594 kB / 1.099 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/1.228, allocations: 0 / 1.099 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/1.228, allocations: 254.6 kB / 1.099 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.493e-05/1.228, allocations: 38.61 kB / 1.099 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/1.228, allocations: 18.89 kB / 1.099 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/1.228, allocations: 0 / 1.099 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/1.228, allocations: 34.44 kB / 1.099 GB, free: 43.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.228, allocations: 0 / 1.099 GB, free: 43.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001931/1.229, allocations: 49.94 kB / 1.099 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/1.229, allocations: 51.41 kB / 1.099 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/1.229, allocations: 101.8 kB / 1.099 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/1.229, allocations: 25.7 kB / 1.099 GB, free: 42.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/1.229, allocations: 80.14 kB / 1.099 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/1.229, allocations: 11.69 kB / 1.099 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/1.229, allocations: 0 / 1.099 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/1.229, allocations: 322.1 kB / 1.1 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/1.229, allocations: 10 kB / 1.1 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/1.229, allocations: 6.188 kB / 1.1 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.944e-05/1.229, allocations: 14.05 kB / 1.1 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.229, allocations: 0 / 1.1 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.598e-05/1.229, allocations: 48.95 kB / 1.1 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/1.229, allocations: 3.875 kB / 1.1 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.229, allocations: 3.938 kB / 1.1 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/1.229, allocations: 0 / 1.1 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/1.229, allocations: 11.55 kB / 1.1 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/1.229, allocations: 3.812 kB / 1.1 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/1.229, allocations: 11.81 kB / 1.1 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/1.229, allocations: 3.75 kB / 1.1 GB, free: 42.45 MB / 0.7136 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 4.442e-05/1.229, allocations: 102.6 kB / 1.1 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/1.229, allocations: 4.547 kB / 1.1 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/1.229, allocations: 59.33 kB / 1.1 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.229, allocations: 7.938 kB / 1.1 GB, free: 42.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/1.229, allocations: 2.812 kB / 1.1 GB, free: 42.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.229, allocations: 3.781 kB / 1.1 GB, free: 42.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/1.23, allocations: 136.1 kB / 1.1 GB, free: 42.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.23, allocations: 0 / 1.1 GB, free: 42.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/1.23, allocations: 15.55 kB / 1.1 GB, free: 42.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.23, allocations: 1.078 kB / 1.1 GB, free: 42.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/1.23, allocations: 0 / 1.1 GB, free: 42.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.23, allocations: 4 kB / 1.1 GB, free: 42.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.23, allocations: 0 / 1.1 GB, free: 42.13 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001037/1.23, allocations: 146.6 kB / 1.1 GB, free: 42 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002454/1.23, allocations: 0.5125 MB / 1.101 GB, free: 57.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/1.23, allocations: 85.08 kB / 1.101 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/1.23, allocations: 3.75 kB / 1.101 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/1.23, allocations: 10.81 kB / 1.101 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/1.23, allocations: 3.891 kB / 1.101 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/1.23, allocations: 3.875 kB / 1.101 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.126e-05/1.23, allocations: 82.41 kB / 1.101 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000772/1.231, allocations: 7.75 kB / 1.101 GB, free: 57.32 MB / 0.7292 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.0001598/1.231, allocations: 118.2 kB / 1.101 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.024e-05/1.231, allocations: 18.11 kB / 1.101 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.231, allocations: 0 / 1.101 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/1.231, allocations: 14.94 kB / 1.101 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/1.231, allocations: 0 / 1.101 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/1.232, allocations: 72.52 kB / 1.101 GB, free: 57.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/1.232, allocations: 0.6947 MB / 1.102 GB, free: 56.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/1.232, allocations: 0 / 1.102 GB, free: 56.43 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)