Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7456/0.7456, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 181.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.1 MB / 399.1 MB, free: 6.168 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 93.89 kB / 476.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4648/0.4662, allocations: 82.88 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.7239, allocations: 76.76 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6438/1.368, allocations: 101.7 MB / 0.7204 GB, free: 10.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.368, allocations: 67.97 kB / 0.7204 GB, free: 10.52 MB / 490.7 MB 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.003833/1.372, allocations: 0.8293 MB / 0.7212 GB, free: 9.648 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/1.372, allocations: 8 kB / 0.7213 GB, free: 9.641 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/1.372, allocations: 7.891 kB / 0.7213 GB, free: 9.633 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/1.372, allocations: 163.1 kB / 0.7214 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/1.372, allocations: 0 / 0.7214 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/1.372, allocations: 0 / 0.7214 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001466/1.373, allocations: 16.81 kB / 0.7214 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/1.373, allocations: 41.69 kB / 0.7215 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/1.373, allocations: 0 / 0.7215 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/1.373, allocations: 3.906 kB / 0.7215 GB, free: 9.367 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/1.373, allocations: 0 / 0.7215 GB, free: 9.367 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/1.374, allocations: 253.5 kB / 0.7217 GB, free: 9.082 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/1.374, allocations: 30.56 kB / 0.7217 GB, free: 9.043 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/1.374, allocations: 16.92 kB / 0.7218 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.497e-05/1.374, allocations: 0.6562 kB / 0.7218 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.028e-05/1.374, allocations: 34.47 kB / 0.7218 GB, free: 8.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.984e-06/1.374, allocations: 8 kB / 0.7218 GB, free: 8.973 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000335/1.374, allocations: 41.69 kB / 0.7218 GB, free: 8.926 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/1.374, allocations: 55.41 kB / 0.7219 GB, free: 8.859 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/1.375, allocations: 95.56 kB / 0.722 GB, free: 8.762 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/1.375, allocations: 27.78 kB / 0.722 GB, free: 8.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/1.375, allocations: 88.08 kB / 0.7221 GB, free: 8.641 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/1.375, allocations: 15.83 kB / 0.7221 GB, free: 8.625 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/1.375, allocations: 0 / 0.7221 GB, free: 8.625 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002213/1.375, allocations: 314.9 kB / 0.7224 GB, free: 8.309 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/1.375, allocations: 4 kB / 0.7224 GB, free: 8.305 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/1.375, allocations: 8 kB / 0.7224 GB, free: 8.297 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.392e-05/1.375, allocations: 11.98 kB / 0.7224 GB, free: 8.285 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.375, allocations: 0 / 0.7224 GB, free: 8.285 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001368/1.375, allocations: 53.59 kB / 0.7225 GB, free: 8.227 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.375, allocations: 4.75 kB / 0.7225 GB, free: 8.223 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.375, allocations: 0 / 0.7225 GB, free: 8.223 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/1.375, allocations: 4.094 kB / 0.7225 GB, free: 8.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/1.375, allocations: 12 kB / 0.7225 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.375, allocations: 0 / 0.7225 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/1.376, allocations: 11.98 kB / 0.7225 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/1.376, allocations: 0 / 0.7225 GB, free: 8.195 MB / 490.7 MB 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 0.0001285/1.376, allocations: 108.9 kB / 0.7226 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/1.376, allocations: 7.938 kB / 0.7226 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/1.376, allocations: 61.17 kB / 0.7227 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.376, allocations: 0 / 0.7227 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.376, allocations: 0 / 0.7227 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/1.376, allocations: 7.906 kB / 0.7227 GB, free: 8.004 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/1.376, allocations: 138.2 kB / 0.7228 GB, free: 7.832 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.376, allocations: 0 / 0.7228 GB, free: 7.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/1.376, allocations: 12.03 kB / 0.7228 GB, free: 7.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/1.376, allocations: 4 kB / 0.7228 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/1.376, allocations: 256 / 0.7228 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.376, allocations: 0 / 0.7228 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.376, allocations: 7.984 kB / 0.7229 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00021/1.377, allocations: 147.4 kB / 0.723 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004269/1.377, allocations: 0.5155 MB / 0.7235 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/1.377, allocations: 85.09 kB / 0.7236 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/1.377, allocations: 0 / 0.7236 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.975e-05/1.377, allocations: 11.89 kB / 0.7236 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/1.377, allocations: 8.031 kB / 0.7236 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/1.377, allocations: 0 / 0.7236 GB, free: 6.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001203/1.377, allocations: 83.28 kB / 0.7237 GB, free: 6.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009491/1.378, allocations: 11.98 kB / 0.7237 GB, free: 6.898 MB / 490.7 MB 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.0002612/1.379, allocations: 99.25 kB / 0.7238 GB, free: 6.789 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/1.379, allocations: 19.94 kB / 0.7238 GB, free: 6.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.379, allocations: 2.562 kB / 0.7238 GB, free: 6.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/1.379, allocations: 8.062 kB / 0.7238 GB, free: 6.762 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/1.379, allocations: 8 kB / 0.7238 GB, free: 6.754 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/1.379, allocations: 63.91 kB / 0.7239 GB, free: 6.668 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/1.38, allocations: 0.688 MB / 0.7246 GB, free: 5.953 MB / 490.7 MB Notification: Performance of SimCode: time 3.4e-07/1.38, allocations: 0 / 0.7246 GB, free: 5.953 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynominal.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe 2>&1)