Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.266/1.266, allocations: 249.4 MB / 256.7 MB, free: 6.934 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.001248/0.001247, allocations: 181.2 kB / 316 MB, free: 3.504 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.187/1.187, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0008395/0.0008395, allocations: 87.34 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3553/0.3562, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.5247, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.9816, allocations: 131.9 MB / 1.013 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/0.9819, allocations: 71.56 kB / 1.014 GB, free: 6.586 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002424/0.9843, allocations: 0.8159 MB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.9843, allocations: 11.98 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.9844, allocations: 4 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.9845, allocations: 163 kB / 1.014 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.9845, allocations: 4 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.9845, allocations: 0 / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.697e-05/0.9846, allocations: 11.44 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.076e-05/0.9846, allocations: 45.44 kB / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.9847, allocations: 0 / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.9847, allocations: 4 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.9847, allocations: 0 / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.985, allocations: 258 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.795e-05/0.9851, allocations: 30.44 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.9851, allocations: 8.922 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.9851, allocations: 7.984 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.9852, allocations: 33.44 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.325e-06/0.9852, allocations: 2.734 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001806/0.9854, allocations: 53.47 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.9854, allocations: 55.44 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.9855, allocations: 96.88 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.9855, allocations: 25.7 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.9855, allocations: 84.12 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.9855, allocations: 11.84 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.9856, allocations: 0 / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.168e-05/0.9856, allocations: 314.5 kB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.9857, allocations: 4 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.9857, allocations: 11.38 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.9857, allocations: 11.17 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9857, allocations: 0 / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.473e-05/0.9858, allocations: 57.16 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.9859, allocations: 4.75 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.9859, allocations: 0 / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.9859, allocations: 0 / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.986, allocations: 12.09 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.986, allocations: 3.984 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.9861, allocations: 8 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.9861, allocations: 0 / 1.016 GB, free: 4.387 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 (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.556e-05/0.9862, allocations: 105 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.9862, allocations: 7.844 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.9863, allocations: 68.56 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.9863, allocations: 0 / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.9864, allocations: 4.625 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.9864, allocations: 0 / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.9865, allocations: 141.3 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.9865, allocations: 4 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.9866, allocations: 11.94 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9866, allocations: 4.281 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.9866, allocations: 0 / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.9866, allocations: 7.984 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9866, allocations: 0 / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001736/0.9868, allocations: 145.4 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002233/0.987, allocations: 0.5177 MB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.9871, allocations: 77.11 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.9871, allocations: 0 / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.9872, allocations: 11.98 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.9872, allocations: 3.938 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.9872, allocations: 4 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.119e-05/0.9873, allocations: 90.53 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007567/0.988, allocations: 11.98 kB / 1.017 GB, free: 3.109 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 (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.0001236/0.9882, allocations: 99.25 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.526e-05/0.9882, allocations: 11.06 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.9882, allocations: 0 / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.083e-05/0.9883, allocations: 11.25 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.9884, allocations: 0.5469 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.9886, allocations: 81.7 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.9888, allocations: 0.691 MB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.9889, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)