Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.603/2.603, allocations: 284.8 MB / 292.1 MB, free: 9.793 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.00158/0.00158, allocations: 174.4 kB / 360.3 MB, free: 1.027 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.1 MB / 0.6187 GB, free: 3.289 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.00126/0.001259, allocations: 83.56 kB / 0.7317 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5671/0.5684, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.8063, allocations: 115.3 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6759/1.482, allocations: 137 MB / 1.097 GB, free: 44.44 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.483, allocations: 68.72 kB / 1.097 GB, free: 44.44 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.003456/1.486, allocations: 0.8102 MB / 1.097 GB, free: 44.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/1.486, allocations: 8.969 kB / 1.097 GB, free: 44.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/1.486, allocations: 7.469 kB / 1.097 GB, free: 44.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/1.486, allocations: 161.4 kB / 1.098 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/1.486, allocations: 0 / 1.098 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/1.486, allocations: 5 kB / 1.098 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.623e-05/1.486, allocations: 25.31 kB / 1.098 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.353e-05/1.486, allocations: 40.88 kB / 1.098 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.486, allocations: 3.469 kB / 1.098 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.486, allocations: 0 / 1.098 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.487, allocations: 0 / 1.098 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/1.487, allocations: 251 kB / 1.098 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.287e-05/1.487, allocations: 35.8 kB / 1.098 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/1.487, allocations: 10.33 kB / 1.098 GB, free: 43.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/1.487, allocations: 3.75 kB / 1.098 GB, free: 43.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/1.487, allocations: 34.12 kB / 1.098 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/1.487, allocations: 4 kB / 1.098 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000236/1.488, allocations: 47.81 kB / 1.098 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/1.488, allocations: 51.41 kB / 1.098 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/1.488, allocations: 103.5 kB / 1.098 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/1.488, allocations: 26.45 kB / 1.098 GB, free: 43.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/1.488, allocations: 80.14 kB / 1.098 GB, free: 43.24 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/1.488, allocations: 11.16 kB / 1.098 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/1.488, allocations: 0 / 1.098 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/1.488, allocations: 325.4 kB / 1.099 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/1.488, allocations: 7.188 kB / 1.099 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/1.488, allocations: 4.297 kB / 1.099 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.31e-05/1.488, allocations: 9.859 kB / 1.099 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.488, allocations: 0.8438 kB / 1.099 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000132/1.488, allocations: 50.41 kB / 1.099 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.488, allocations: 3.844 kB / 1.099 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.488, allocations: 3.938 kB / 1.099 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.488, allocations: 96 / 1.099 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/1.488, allocations: 18.89 kB / 1.099 GB, free: 42.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/1.488, allocations: 3.984 kB / 1.099 GB, free: 42.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.602e-05/1.488, allocations: 15.33 kB / 1.099 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/1.488, allocations: 0 / 1.099 GB, free: 42.86 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 5.371e-05/1.489, allocations: 108.9 kB / 1.099 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/1.489, allocations: 3.844 kB / 1.099 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/1.489, allocations: 58.45 kB / 1.099 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.489, allocations: 3.906 kB / 1.099 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/1.489, allocations: 3.875 kB / 1.099 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.489, allocations: 0 / 1.099 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/1.489, allocations: 137.2 kB / 1.099 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.489, allocations: 0 / 1.099 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/1.489, allocations: 15.16 kB / 1.099 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.489, allocations: 0 / 1.099 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/1.489, allocations: 3.797 kB / 1.099 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/1.489, allocations: 1.25 kB / 1.099 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.489, allocations: 0.7969 kB / 1.099 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001491/1.489, allocations: 149 kB / 1.099 GB, free: 42.42 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002862/1.49, allocations: 0.5135 MB / 1.1 GB, free: 57.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/1.49, allocations: 84.89 kB / 1.1 GB, free: 57.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/1.49, allocations: 0 / 1.1 GB, free: 57.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/1.49, allocations: 6.797 kB / 1.1 GB, free: 57.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/1.49, allocations: 10.95 kB / 1.1 GB, free: 57.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/1.49, allocations: 0 / 1.1 GB, free: 57.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.975e-05/1.49, allocations: 84.22 kB / 1.1 GB, free: 57.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001131/1.491, allocations: 11.5 kB / 1.1 GB, free: 57.73 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.0001754/1.491, allocations: 106.9 kB / 1.1 GB, free: 57.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001117/1.491, allocations: 15.12 kB / 1.1 GB, free: 57.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.491, allocations: 0 / 1.1 GB, free: 57.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.526e-05/1.492, allocations: 15.5 kB / 1.1 GB, free: 57.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/1.492, allocations: 2.156 kB / 1.1 GB, free: 57.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/1.492, allocations: 76.02 kB / 1.1 GB, free: 57.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/1.492, allocations: 0.691 MB / 1.101 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/1.492, allocations: 0 / 1.101 GB, free: 56.86 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)