Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.7436/0.7436, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001148/0.001148, allocations: 173.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.511/1.511, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0009371/0.0009373, allocations: 96.41 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3164/0.3174, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.4906, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.9352, allocations: 101 MB / 0.7197 GB, free: 11.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.9355, allocations: 75.95 kB / 0.7197 GB, free: 11.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00161/0.9372, allocations: 0.5891 MB / 0.7203 GB, free: 10.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.9372, allocations: 8 kB / 0.7203 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.9373, allocations: 0 / 0.7203 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.9374, allocations: 166.9 kB / 0.7205 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.9374, allocations: 8 kB / 0.7205 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.9374, allocations: 0 / 0.7205 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.711e-05/0.9375, allocations: 23.98 kB / 0.7205 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.9376, allocations: 57.38 kB / 0.7206 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.9376, allocations: 0 / 0.7206 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.9377, allocations: 0 / 0.7206 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.9377, allocations: 11.92 kB / 0.7206 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.938, allocations: 245.3 kB / 0.7208 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.9381, allocations: 18.58 kB / 0.7208 GB, free: 9.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.9381, allocations: 13.56 kB / 0.7208 GB, free: 9.965 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-06/0.9381, allocations: 0 / 0.7208 GB, free: 9.965 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.9381, allocations: 34.56 kB / 0.7209 GB, free: 9.922 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.9381, allocations: 0 / 0.7209 GB, free: 9.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001789/0.9383, allocations: 41.55 kB / 0.7209 GB, free: 9.875 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.9384, allocations: 77.11 kB / 0.721 GB, free: 9.781 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/0.9385, allocations: 111.8 kB / 0.7211 GB, free: 9.668 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.9385, allocations: 26.73 kB / 0.7211 GB, free: 9.637 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.9386, allocations: 103.8 kB / 0.7212 GB, free: 9.531 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.9386, allocations: 4 kB / 0.7212 GB, free: 9.527 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.9386, allocations: 0 / 0.7212 GB, free: 9.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.9388, allocations: 314.8 kB / 0.7215 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.9388, allocations: 12 kB / 0.7215 GB, free: 9.199 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.9389, allocations: 63.16 kB / 0.7216 GB, free: 9.113 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.9389, allocations: 19.92 kB / 0.7216 GB, free: 9.094 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.9389, allocations: 4 kB / 0.7216 GB, free: 9.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001403/0.9391, allocations: 81.55 kB / 0.7217 GB, free: 9.004 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.9391, allocations: 4 kB / 0.7217 GB, free: 9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9391, allocations: 7.938 kB / 0.7217 GB, free: 8.992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.9391, allocations: 4 kB / 0.7217 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.9392, allocations: 8 kB / 0.7217 GB, free: 8.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.9392, allocations: 11.89 kB / 0.7217 GB, free: 8.969 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.9393, allocations: 12.19 kB / 0.7217 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.9393, allocations: 4 kB / 0.7217 GB, free: 8.953 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001192/0.9394, allocations: 141.1 kB / 0.7219 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.9395, allocations: 3.938 kB / 0.7219 GB, free: 8.801 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.9395, allocations: 7.469 kB / 0.7219 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.9395, allocations: 0 / 0.7219 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9395, allocations: 0 / 0.7219 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.9395, allocations: 0 / 0.7219 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.9397, allocations: 138.1 kB / 0.722 GB, free: 8.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.9397, allocations: 4 kB / 0.722 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.9397, allocations: 0 / 0.722 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.9397, allocations: 0 / 0.722 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.9397, allocations: 4 kB / 0.722 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.9397, allocations: 0 / 0.722 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9397, allocations: 0 / 0.722 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001269/0.9398, allocations: 143.4 kB / 0.7222 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002161/0.9401, allocations: 0.5077 MB / 0.7226 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.9401, allocations: 77.11 kB / 0.7227 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.9401, allocations: 4 kB / 0.7227 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.9402, allocations: 0.875 kB / 0.7227 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.9402, allocations: 0 / 0.7227 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.9402, allocations: 7.984 kB / 0.7227 GB, free: 7.828 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.56e-05/0.9403, allocations: 95.22 kB / 0.7228 GB, free: 7.734 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008493/0.9411, allocations: 8 kB / 0.7228 GB, free: 7.727 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001863/0.9413, allocations: 111.2 kB / 0.7229 GB, free: 7.605 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.9414, allocations: 49.64 kB / 0.723 GB, free: 7.551 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9415, allocations: 0 / 0.723 GB, free: 7.551 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.9415, allocations: 29.7 kB / 0.723 GB, free: 7.516 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.9416, allocations: 4.5 kB / 0.723 GB, free: 7.512 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.9419, allocations: 71.91 kB / 0.7231 GB, free: 7.418 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.9421, allocations: 0.6919 MB / 0.7238 GB, free: 6.699 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.9421, allocations: 0 / 0.7238 GB, free: 6.699 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)