Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",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.7388/0.7388, 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.001796/0.001796, allocations: 185.2 kB / 164.4 MB, free: 6.875 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.678/1.678, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.0008989/0.000899, allocations: 91.23 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3249/0.3259, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.4954, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4545/0.9499, allocations: 102.7 MB / 0.7214 GB, free: 9.523 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/0.9503, allocations: 79.95 kB / 0.7214 GB, free: 9.445 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01044/0.9608, allocations: 3.388 MB / 0.7247 GB, free: 6.012 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.9609, allocations: 8 kB / 0.7247 GB, free: 6.004 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.9609, allocations: 7.906 kB / 0.7248 GB, free: 5.996 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.9611, allocations: 174.9 kB / 0.7249 GB, free: 5.785 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.9611, allocations: 3.5 kB / 0.7249 GB, free: 5.785 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.9611, allocations: 4 kB / 0.7249 GB, free: 5.781 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000137/0.9613, allocations: 59.97 kB / 0.725 GB, free: 5.723 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.9614, allocations: 97.55 kB / 0.7251 GB, free: 5.621 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.9614, allocations: 4 kB / 0.7251 GB, free: 5.617 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.9614, allocations: 4 kB / 0.7251 GB, free: 5.613 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.9614, allocations: 3.938 kB / 0.7251 GB, free: 5.609 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.9616, allocations: 158.1 kB / 0.7252 GB, free: 5.418 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.9618, allocations: 86.58 kB / 0.7253 GB, free: 5.324 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/0.9619, allocations: 68.8 kB / 0.7254 GB, free: 5.254 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.9619, allocations: 0 / 0.7254 GB, free: 5.254 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.9619, allocations: 34.56 kB / 0.7254 GB, free: 5.211 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.9619, allocations: 0 / 0.7254 GB, free: 5.211 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.000327/0.9623, allocations: 169.5 kB / 0.7256 GB, free: 5.039 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.9623, allocations: 85.09 kB / 0.7257 GB, free: 4.938 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.9624, allocations: 121.2 kB / 0.7258 GB, free: 4.809 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.9625, allocations: 25.7 kB / 0.7258 GB, free: 4.777 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.9625, allocations: 96.03 kB / 0.7259 GB, free: 4.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.9625, allocations: 7.906 kB / 0.7259 GB, free: 4.672 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-06/0.9626, allocations: 0 / 0.7259 GB, free: 4.672 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9627, allocations: 326.9 kB / 0.7262 GB, free: 4.344 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.9628, allocations: 99.94 kB / 0.7263 GB, free: 4.246 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.963, allocations: 101.5 kB / 0.7264 GB, free: 4.148 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.9632, allocations: 107.8 kB / 0.7265 GB, free: 4.043 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9632, allocations: 4.781 kB / 0.7265 GB, free: 4.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003644/0.9636, allocations: 261.5 kB / 0.7268 GB, free: 3.777 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.9636, allocations: 6.188 kB / 0.7268 GB, free: 3.773 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.9636, allocations: 0 / 0.7268 GB, free: 3.773 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.9636, allocations: 0 / 0.7268 GB, free: 3.773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-06/0.9636, allocations: 4.062 kB / 0.7268 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9636, allocations: 4.703 kB / 0.7268 GB, free: 3.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.428e-05/0.9637, allocations: 15.78 kB / 0.7268 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.9638, allocations: 4 kB / 0.7268 GB, free: 3.746 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 9.57e-05/0.9639, allocations: 142.6 kB / 0.7269 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.9639, allocations: 7.906 kB / 0.7269 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.9639, allocations: 8.125 kB / 0.727 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9639, allocations: 0 / 0.727 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.9639, allocations: 0 / 0.727 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.9639, allocations: 4 kB / 0.727 GB, free: 3.574 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.9641, allocations: 158.1 kB / 0.7271 GB, free: 3.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.9641, allocations: 0 / 0.7271 GB, free: 3.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.9641, allocations: 0 / 0.7271 GB, free: 3.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.9641, allocations: 0 / 0.7271 GB, free: 3.383 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.9641, allocations: 4 kB / 0.7271 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9641, allocations: 0 / 0.7271 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.9641, allocations: 0 / 0.7271 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002662/0.9644, allocations: 209.7 kB / 0.7273 GB, free: 3.156 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003598/0.9647, allocations: 0.5599 MB / 0.7279 GB, free: 2.574 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.9648, allocations: 89 kB / 0.7279 GB, free: 2.469 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.9648, allocations: 0 / 0.7279 GB, free: 2.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.9649, allocations: 4 kB / 0.7279 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.965, allocations: 7.984 kB / 0.728 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.965, allocations: 12.06 kB / 0.728 GB, free: 2.445 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.997e-05/0.965, allocations: 99.27 kB / 0.7281 GB, free: 2.348 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009357/0.966, allocations: 75.84 kB / 0.7281 GB, free: 2.273 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: 1 (i) * Number of discrete states: 1 (i) * 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.0003514/0.9663, allocations: 163 kB / 0.7283 GB, free: 2.102 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.9667, allocations: 247.3 kB / 0.7285 GB, free: 1.848 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9667, allocations: 0 / 0.7285 GB, free: 1.848 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.9668, allocations: 109.7 kB / 0.7286 GB, free: 1.734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.967, allocations: 12.06 kB / 0.7286 GB, free: 1.723 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.9673, allocations: 155.6 kB / 0.7288 GB, free: 1.547 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.9676, allocations: 0.7032 MB / 0.7295 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/0.9676, allocations: 3.938 kB / 0.7295 GB, free: 0.8164 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)