Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7168/0.7168, allocations: 127.4 MB / 134.6 MB, free: 4.109 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.001187/0.001187, allocations: 193.2 kB / 164.4 MB, free: 6.852 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.361/1.361, allocations: 205.1 MB / 399.1 MB, free: 6.062 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.0009005/0.0009004, allocations: 83.41 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2736/0.2745, allocations: 82.9 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.4144, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.399/0.8134, allocations: 101 MB / 0.7197 GB, free: 11.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.8137, allocations: 75.95 kB / 0.7198 GB, free: 11.15 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001321/0.815, allocations: 485.9 kB / 0.7202 GB, free: 10.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.8151, allocations: 8 kB / 0.7202 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.8151, allocations: 8 kB / 0.7202 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.8152, allocations: 159.1 kB / 0.7204 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.8153, allocations: 3.938 kB / 0.7204 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-06/0.8153, allocations: 0 / 0.7204 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.215e-05/0.8153, allocations: 3.75 kB / 0.7204 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.426e-05/0.8154, allocations: 33.69 kB / 0.7204 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8154, allocations: 3.906 kB / 0.7204 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.8154, allocations: 0 / 0.7204 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.8154, allocations: 0 / 0.7204 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.8156, allocations: 127 kB / 0.7206 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.8157, allocations: 22.61 kB / 0.7206 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.8157, allocations: 8.844 kB / 0.7206 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.8158, allocations: 0 / 0.7206 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.8158, allocations: 39.22 kB / 0.7206 GB, free: 10.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.8158, allocations: 0 / 0.7206 GB, free: 10.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001827/0.816, allocations: 33.69 kB / 0.7207 GB, free: 10.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.816, allocations: 55.44 kB / 0.7207 GB, free: 10.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.355e-05/0.8161, allocations: 88.94 kB / 0.7208 GB, free: 9.934 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.8161, allocations: 25.7 kB / 0.7208 GB, free: 9.902 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.8161, allocations: 82.22 kB / 0.7209 GB, free: 9.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.8162, allocations: 3.906 kB / 0.7209 GB, free: 9.816 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.8162, allocations: 0 / 0.7209 GB, free: 9.816 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.8163, allocations: 318.8 kB / 0.7212 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.8163, allocations: 0 / 0.7212 GB, free: 9.496 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.8163, allocations: 0 / 0.7212 GB, free: 9.496 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.605e-05/0.8164, allocations: 8.062 kB / 0.7212 GB, free: 9.488 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8164, allocations: 0 / 0.7212 GB, free: 9.488 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.467e-05/0.8165, allocations: 37.62 kB / 0.7213 GB, free: 9.445 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.8165, allocations: 4 kB / 0.7213 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.8165, allocations: 0 / 0.7213 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.8165, allocations: 3.906 kB / 0.7213 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.187e-05/0.8166, allocations: 4 kB / 0.7213 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.8166, allocations: 0 / 0.7213 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.8166, allocations: 3.938 kB / 0.7213 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.8167, allocations: 9.047 kB / 0.7213 GB, free: 9.422 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 (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 6.53e-05/0.8167, allocations: 101 kB / 0.7214 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.8167, allocations: 0 / 0.7214 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.8169, allocations: 40.69 kB / 0.7214 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8169, allocations: 11.88 kB / 0.7214 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8169, allocations: 0 / 0.7214 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8169, allocations: 0 / 0.7214 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.992e-05/0.817, allocations: 134.2 kB / 0.7216 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.817, allocations: 0 / 0.7216 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.817, allocations: 4 kB / 0.7216 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.817, allocations: 0 / 0.7216 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.8171, allocations: 0 / 0.7216 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8171, allocations: 0 / 0.7216 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8171, allocations: 0 / 0.7216 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001019/0.8172, allocations: 69.02 kB / 0.7216 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001906/0.8174, allocations: 437.5 kB / 0.722 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.8174, allocations: 84.95 kB / 0.7221 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.8174, allocations: 0 / 0.7221 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.8175, allocations: 4.938 kB / 0.7221 GB, free: 8.449 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.8175, allocations: 0 / 0.7221 GB, free: 8.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.8175, allocations: 4 kB / 0.7221 GB, free: 8.445 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.638e-05/0.8176, allocations: 75.28 kB / 0.7222 GB, free: 8.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007765/0.8183, allocations: 4 kB / 0.7222 GB, free: 8.367 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 (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.0001897/0.8185, allocations: 111.2 kB / 0.7223 GB, free: 8.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.045e-05/0.8186, allocations: 8 kB / 0.7223 GB, free: 8.242 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8186, allocations: 3.938 kB / 0.7223 GB, free: 8.238 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.8186, allocations: 8.062 kB / 0.7223 GB, free: 8.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.669e-05/0.8187, allocations: 6.469 kB / 0.7223 GB, free: 8.227 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/0.8189, allocations: 44.02 kB / 0.7224 GB, free: 8.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.8192, allocations: 0.6841 MB / 0.723 GB, free: 7.449 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8192, allocations: 0 / 0.723 GB, free: 7.449 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)