Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.599/1.599, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001389/0.001389, allocations: 184 kB / 366.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.1 MB / 0.6256 GB, free: 5.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009325/0.0009324, allocations: 89.47 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3146/0.3156, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.698/1.014, allocations: 116.3 MB / 0.9727 GB, free: 68.62 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/1.198, allocations: 137.4 MB / 1.107 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/1.198, allocations: 72.8 kB / 1.107 GB, free: 11.01 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001409/1.2, allocations: 487.4 kB / 1.107 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/1.2, allocations: 8.5 kB / 1.107 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/1.2, allocations: 0 / 1.107 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/1.2, allocations: 160.4 kB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/1.2, allocations: 4.594 kB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/1.2, allocations: 4 kB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.508e-05/1.2, allocations: 0.5 kB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.521e-05/1.2, allocations: 30.19 kB / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.2, allocations: 0.5312 kB / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/1.2, allocations: 4.594 kB / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.2, allocations: 0 / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/1.201, allocations: 127.1 kB / 1.108 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/1.201, allocations: 19.36 kB / 1.108 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/1.201, allocations: 10.02 kB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.093e-05/1.201, allocations: 4.734 kB / 1.108 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.201, allocations: 39.06 kB / 1.108 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.794e-06/1.201, allocations: 0.75 kB / 1.108 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0002231/1.201, allocations: 37.69 kB / 1.108 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/1.201, allocations: 55.41 kB / 1.108 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.83e-05/1.201, allocations: 85 kB / 1.108 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/1.201, allocations: 25.7 kB / 1.108 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/1.201, allocations: 80.14 kB / 1.108 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/1.201, allocations: 1.5 kB / 1.108 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-06/1.201, allocations: 0 / 1.108 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.201, allocations: 310.8 kB / 1.108 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/1.201, allocations: 3.938 kB / 1.108 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-06/1.201, allocations: 8.031 kB / 1.108 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.623e-05/1.201, allocations: 0 / 1.108 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.201, allocations: 3.906 kB / 1.108 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.896e-05/1.201, allocations: 41.69 kB / 1.108 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.202, allocations: 4 kB / 1.108 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.202, allocations: 3.938 kB / 1.108 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/1.202, allocations: 0 / 1.108 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/1.202, allocations: 4 kB / 1.108 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/1.202, allocations: 0 / 1.108 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/1.202, allocations: 8.031 kB / 1.108 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/1.202, allocations: 0 / 1.108 GB, free: 9.289 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 (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.0001329/1.202, allocations: 101 kB / 1.109 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/1.202, allocations: 12.55 kB / 1.109 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/1.202, allocations: 40.64 kB / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.202, allocations: 0 / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.202, allocations: 4 kB / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.202, allocations: 0 / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.901e-05/1.202, allocations: 126.2 kB / 1.109 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.202, allocations: 0 / 1.109 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/1.202, allocations: 4.75 kB / 1.109 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/1.202, allocations: 3.906 kB / 1.109 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/1.202, allocations: 0 / 1.109 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.202, allocations: 0 / 1.109 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.202, allocations: 0 / 1.109 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001002/1.202, allocations: 65.16 kB / 1.109 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002194/1.203, allocations: 441.4 kB / 1.109 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/1.203, allocations: 81.11 kB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/1.203, allocations: 4.625 kB / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.194e-05/1.203, allocations: 0 / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/1.203, allocations: 4 kB / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/1.203, allocations: 0 / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.174e-05/1.203, allocations: 75.28 kB / 1.109 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008056/1.204, allocations: 11.91 kB / 1.109 GB, free: 8.227 MB / 0.7136 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.0001954/1.204, allocations: 104.5 kB / 1.109 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.013e-05/1.204, allocations: 4 kB / 1.109 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.204, allocations: 4.062 kB / 1.109 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.314e-06/1.204, allocations: 7.938 kB / 1.109 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/1.204, allocations: 3.109 kB / 1.109 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001806/1.204, allocations: 48.02 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/1.204, allocations: 0.6841 MB / 1.11 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/1.204, allocations: 0 / 1.11 GB, free: 7.316 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)