Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") [: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/Complex 4.0.0+maint.om/package.mo): time 0.0009734/0.0009735, allocations: 190.4 kB / 7.805 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4851/0.4851, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 221.4 MB / 342.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009335, allocations: 92.36 kB / 415.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.098e-05, allocations: 4 kB / 493.9 MB, free: 11.56 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3282, allocations: 72.3 MB / 0.5529 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.4453, allocations: 101.6 MB / 0.6521 GB, free: 7.098 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.4456, allocations: 76.58 kB / 0.6522 GB, free: 7.023 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.009853/0.4554, allocations: 2.911 MB / 0.655 GB, free: 4.125 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.4555, allocations: 0 / 0.655 GB, free: 4.125 MB / 474.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.0004335/0.4559, allocations: 437.7 kB / 0.6554 GB, free: 3.641 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.456, allocations: 8.031 kB / 0.6554 GB, free: 3.633 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.456, allocations: 15.89 kB / 0.6554 GB, free: 3.617 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.4562, allocations: 172.6 kB / 0.6556 GB, free: 3.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.4562, allocations: 0 / 0.6556 GB, free: 3.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.4562, allocations: 4.938 kB / 0.6556 GB, free: 3.406 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001297/0.4563, allocations: 63.95 kB / 0.6557 GB, free: 3.344 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.4565, allocations: 93.66 kB / 0.6558 GB, free: 3.246 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4565, allocations: 4 kB / 0.6558 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4565, allocations: 0 / 0.6558 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4565, allocations: 0 / 0.6558 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.4567, allocations: 154.1 kB / 0.6559 GB, free: 3.055 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.4568, allocations: 94.47 kB / 0.656 GB, free: 2.953 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.4569, allocations: 64.91 kB / 0.6561 GB, free: 2.887 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.4569, allocations: 0 / 0.6561 GB, free: 2.887 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.457, allocations: 38.48 kB / 0.6561 GB, free: 2.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.457, allocations: 0 / 0.6561 GB, free: 2.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.000316/0.4573, allocations: 169.5 kB / 0.6563 GB, free: 2.668 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4573, allocations: 77.11 kB / 0.6563 GB, free: 2.574 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.4575, allocations: 135 kB / 0.6565 GB, free: 2.434 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.4575, allocations: 30.36 kB / 0.6565 GB, free: 2.398 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.4575, allocations: 84.14 kB / 0.6566 GB, free: 2.312 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.4576, allocations: 11.81 kB / 0.6566 GB, free: 2.301 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.4576, allocations: 4 kB / 0.6566 GB, free: 2.297 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4577, allocations: 318.8 kB / 0.6569 GB, free: 1.977 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.4578, allocations: 103.9 kB / 0.657 GB, free: 1.875 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.4579, allocations: 99.94 kB / 0.6571 GB, free: 1.777 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.4581, allocations: 110.1 kB / 0.6572 GB, free: 1.672 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4582, allocations: 0 / 0.6572 GB, free: 1.672 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003729/0.4585, allocations: 266 kB / 0.6574 GB, free: 1.406 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4586, allocations: 4 kB / 0.6575 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4586, allocations: 0 / 0.6575 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.4586, allocations: 4 kB / 0.6575 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.4586, allocations: 0 / 0.6575 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4586, allocations: 3.906 kB / 0.6575 GB, free: 1.395 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.486e-05/0.4587, allocations: 7.938 kB / 0.6575 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.4587, allocations: 8 kB / 0.6575 GB, free: 1.379 MB / 474.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.653e-05/0.4588, allocations: 146.6 kB / 0.6576 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.4588, allocations: 3.906 kB / 0.6576 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.4589, allocations: 8.125 kB / 0.6576 GB, free: 1.203 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4589, allocations: 3.938 kB / 0.6576 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4589, allocations: 0 / 0.6576 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.4589, allocations: 3.984 kB / 0.6576 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.459, allocations: 154.1 kB / 0.6578 GB, free: 1.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.459, allocations: 0 / 0.6578 GB, free: 1.008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-06/0.459, allocations: 3.938 kB / 0.6578 GB, free: 1.004 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.459, allocations: 4 kB / 0.6578 GB, free: 1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4591, allocations: 4 kB / 0.6578 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4591, allocations: 0 / 0.6578 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.4591, allocations: 3.984 kB / 0.6578 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002661/0.4593, allocations: 195.2 kB / 0.658 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.4594, allocations: 81.02 kB / 0.6581 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.4594, allocations: 4 kB / 0.6581 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.4595, allocations: 12.02 kB / 0.6581 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.4595, allocations: 11.98 kB / 0.6581 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.4596, allocations: 3.906 kB / 0.6581 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.897e-05/0.4596, allocations: 106.1 kB / 0.6582 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003192/0.46, allocations: 75.92 kB / 0.6583 GB, free: 492 kB / 474.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.0003241/0.4603, allocations: 155.1 kB / 0.6584 GB, free: 328 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.4606, allocations: 251.2 kB / 0.6586 GB, free: 64 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4606, allocations: 4.062 kB / 0.6587 GB, free: 60 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.4608, allocations: 105.7 kB / 0.6588 GB, free: 15.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.4609, allocations: 10.19 kB / 0.6588 GB, free: 15.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.4612, allocations: 155.4 kB / 0.6589 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.4615, allocations: 0.7032 MB / 0.6596 GB, free: 15.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.663e-06/0.4615, allocations: 0 / 0.6596 GB, free: 15.04 MB / 490.7 MB Notification: Performance of Templates: time 0.004173/0.4657, allocations: 1.701 MB / 0.6613 GB, free: 13.37 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)