Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001112/0.001112, allocations: 185.2 kB / 366.3 MB, free: 2 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.43/1.43, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0008696/0.0008696, allocations: 92.19 kB / 0.7395 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2813/0.2822, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6198/0.9021, allocations: 116.3 MB / 0.9726 GB, free: 68.47 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/1.084, allocations: 138.1 MB / 1.108 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/1.084, allocations: 67.97 kB / 1.108 GB, free: 10.32 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.002677/1.087, allocations: 0.826 MB / 1.108 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/1.087, allocations: 8 kB / 1.108 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/1.087, allocations: 3.906 kB / 1.108 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/1.087, allocations: 163.9 kB / 1.109 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/1.087, allocations: 0 / 1.109 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/1.087, allocations: 3.906 kB / 1.109 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.983e-05/1.088, allocations: 20 kB / 1.109 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.288e-05/1.088, allocations: 41.62 kB / 1.109 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/1.088, allocations: 0 / 1.109 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/1.088, allocations: 0 / 1.109 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.088, allocations: 4 kB / 1.109 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/1.088, allocations: 253.4 kB / 1.109 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.607e-05/1.088, allocations: 40.14 kB / 1.109 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/1.088, allocations: 8.922 kB / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/1.088, allocations: 0 / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/1.088, allocations: 38.56 kB / 1.109 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/1.088, allocations: 0 / 1.109 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002185/1.088, allocations: 53.62 kB / 1.109 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/1.088, allocations: 51.41 kB / 1.109 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/1.089, allocations: 97 kB / 1.109 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/1.089, allocations: 25.7 kB / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/1.089, allocations: 88.03 kB / 1.109 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/1.089, allocations: 3.938 kB / 1.109 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/1.089, allocations: 0 / 1.109 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.089, allocations: 318.8 kB / 1.11 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/1.089, allocations: 12.03 kB / 1.11 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/1.089, allocations: 8 kB / 1.11 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/1.089, allocations: 7.984 kB / 1.11 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.089, allocations: 3.938 kB / 1.11 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001/1.089, allocations: 46.53 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.089, allocations: 8 kB / 1.11 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/1.089, allocations: 3.938 kB / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/1.089, allocations: 0 / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/1.089, allocations: 16.08 kB / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/1.089, allocations: 0 / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/1.089, allocations: 11.91 kB / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/1.089, allocations: 0 / 1.11 GB, free: 8.008 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 7.916e-05/1.089, allocations: 101 kB / 1.11 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/1.089, allocations: 8.656 kB / 1.11 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/1.09, allocations: 65.45 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.09, allocations: 4 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.09, allocations: 0 / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.09, allocations: 0 / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/1.09, allocations: 138.2 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.09, allocations: 0 / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/1.09, allocations: 16.59 kB / 1.11 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.09, allocations: 0 / 1.11 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/1.09, allocations: 7.922 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/1.09, allocations: 3.906 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.09, allocations: 0 / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001435/1.09, allocations: 143.5 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002649/1.09, allocations: 0.5083 MB / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/1.09, allocations: 85.02 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/1.09, allocations: 0 / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/1.09, allocations: 11.98 kB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/1.091, allocations: 4 kB / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/1.091, allocations: 4.031 kB / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.552e-05/1.091, allocations: 84.34 kB / 1.111 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009375/1.092, allocations: 15.98 kB / 1.111 GB, free: 6.711 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 (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.000214/1.092, allocations: 99.25 kB / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.601e-05/1.092, allocations: 16 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.092, allocations: 2.594 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.102e-05/1.092, allocations: 15.94 kB / 1.111 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/1.092, allocations: 8.031 kB / 1.111 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/1.092, allocations: 75.45 kB / 1.111 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/1.093, allocations: 0.6925 MB / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/1.093, allocations: 0 / 1.112 GB, free: 5.754 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)