Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 249.4 MB / 256.7 MB, free: 6.973 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.001051/0.001051, allocations: 196.9 kB / 316 MB, free: 3.59 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.261/1.261, allocations: 205.1 MB / 0.5667 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008559/0.0008559, allocations: 84.67 kB / 0.671 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3721/0.373, allocations: 112.5 MB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.5449, allocations: 106.3 MB / 0.8847 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.516/1.061, allocations: 131.2 MB / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/1.061, allocations: 76.42 kB / 1.013 GB, free: 7.371 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001327/1.063, allocations: 472.8 kB / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.063, allocations: 16 kB / 1.013 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/1.063, allocations: 3.906 kB / 1.013 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/1.063, allocations: 162.4 kB / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/1.063, allocations: 0 / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/1.063, allocations: 3.938 kB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.204e-05/1.063, allocations: 0 / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.923e-05/1.063, allocations: 33.69 kB / 1.014 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/1.063, allocations: 0 / 1.014 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/1.063, allocations: 0 / 1.014 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/1.063, allocations: 0 / 1.014 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/1.063, allocations: 130.2 kB / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.026e-05/1.063, allocations: 18.61 kB / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/1.063, allocations: 4.859 kB / 1.014 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/1.063, allocations: 4.062 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/1.063, allocations: 37.75 kB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.235e-06/1.063, allocations: 0 / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000171/1.063, allocations: 40.42 kB / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/1.063, allocations: 51.41 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.868e-05/1.063, allocations: 85 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/1.063, allocations: 25.7 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/1.064, allocations: 80.14 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/1.064, allocations: 3.906 kB / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/1.064, allocations: 4 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.064, allocations: 310.8 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/1.064, allocations: 7.344 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-06/1.064, allocations: 0 / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/1.064, allocations: 4 kB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.064, allocations: 0 / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.286e-05/1.064, allocations: 37.62 kB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.064, allocations: 4 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.064, allocations: 4 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/1.064, allocations: 0 / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.429e-05/1.064, allocations: 0 / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/1.064, allocations: 1.016 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/1.064, allocations: 11.94 kB / 1.014 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/1.064, allocations: 4.562 kB / 1.014 GB, free: 5.684 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 (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 5.423e-05/1.064, allocations: 101 kB / 1.014 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-06/1.064, allocations: 0 / 1.014 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/1.064, allocations: 56.52 kB / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.064, allocations: 0 / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.064, allocations: 0 / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.064, allocations: 11.78 kB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.98e-05/1.064, allocations: 126.2 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.064, allocations: 4 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/1.064, allocations: 3.938 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/1.064, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/1.064, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.064, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.064, allocations: 8.031 kB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.71e-05/1.064, allocations: 57.03 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001951/1.065, allocations: 437.4 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/1.065, allocations: 77.11 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/1.065, allocations: 7.969 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/1.065, allocations: 3.938 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/1.065, allocations: 4 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/1.065, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.564e-05/1.065, allocations: 75.28 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007596/1.066, allocations: 5.125 kB / 1.015 GB, free: 4.633 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 (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.0001892/1.066, allocations: 111 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.367e-05/1.066, allocations: 4 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.066, allocations: 0 / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-06/1.066, allocations: 4 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.964e-05/1.066, allocations: 0 / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/1.066, allocations: 53.53 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/1.066, allocations: 0.6841 MB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/1.066, allocations: 4.125 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)