Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite") [: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.001008/0.001008, allocations: 191.4 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.437/0.437, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.206/1.206, allocations: 221.4 MB / 342.7 MB, free: 5.195 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.000946/0.000946, allocations: 89.84 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.447e-06/9.547e-06, allocations: 4 kB / 493.9 MB, free: 8.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2821, allocations: 72.29 MB / 0.5529 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09924/0.3814, allocations: 100.4 MB / 0.6509 GB, free: 9.637 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.3816, allocations: 79.92 kB / 0.651 GB, free: 9.559 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003663/0.3853, allocations: 0.9454 MB / 0.6519 GB, free: 8.637 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3853, allocations: 4 kB / 0.6519 GB, free: 8.633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003138/0.3856, allocations: 360.6 kB / 0.6523 GB, free: 8.238 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3857, allocations: 8.781 kB / 0.6523 GB, free: 8.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.3857, allocations: 0 / 0.6523 GB, free: 8.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3859, allocations: 184.7 kB / 0.6525 GB, free: 8.012 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3859, allocations: 0 / 0.6525 GB, free: 8.012 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3859, allocations: 4 kB / 0.6525 GB, free: 8.008 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.118e-05/0.386, allocations: 15.94 kB / 0.6525 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.669e-05/0.3861, allocations: 48.88 kB / 0.6525 GB, free: 7.941 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3861, allocations: 0.6562 kB / 0.6525 GB, free: 7.941 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3861, allocations: 4.938 kB / 0.6525 GB, free: 7.938 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3861, allocations: 3.984 kB / 0.6525 GB, free: 7.934 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.3865, allocations: 307.2 kB / 0.6528 GB, free: 7.578 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.694e-05/0.3865, allocations: 27.06 kB / 0.6529 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.3866, allocations: 19.22 kB / 0.6529 GB, free: 7.527 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3866, allocations: 0 / 0.6529 GB, free: 7.527 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.3866, allocations: 31.06 kB / 0.6529 GB, free: 7.488 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3866, allocations: 8.688 kB / 0.6529 GB, free: 7.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.01934/0.406, allocations: 1.265 MB / 0.6542 GB, free: 6.227 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.4061, allocations: 51.41 kB / 0.6542 GB, free: 6.164 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.4062, allocations: 105 kB / 0.6543 GB, free: 6.055 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/0.4063, allocations: 29.7 kB / 0.6543 GB, free: 6.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.4063, allocations: 88.06 kB / 0.6544 GB, free: 5.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/0.4064, allocations: 23.62 kB / 0.6544 GB, free: 5.906 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.4065, allocations: 0 / 0.6544 GB, free: 5.906 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4066, allocations: 322.8 kB / 0.6547 GB, free: 5.582 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.4069, allocations: 115.9 kB / 0.6549 GB, free: 5.469 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.4073, allocations: 108 kB / 0.655 GB, free: 5.363 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.408, allocations: 175.8 kB / 0.6551 GB, free: 5.191 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.408, allocations: 0 / 0.6551 GB, free: 5.191 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001319/0.4093, allocations: 344.5 kB / 0.6555 GB, free: 4.852 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4094, allocations: 4 kB / 0.6555 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4094, allocations: 0 / 0.6555 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4094, allocations: 0 / 0.6555 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.411, allocations: 71.94 kB / 0.6555 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4111, allocations: 0 / 0.6555 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.4125, allocations: 59.84 kB / 0.6556 GB, free: 4.719 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.982e-05/0.4126, allocations: 5.875 kB / 0.6556 GB, free: 4.715 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001824/0.4128, allocations: 101 kB / 0.6557 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/0.4129, allocations: 7.906 kB / 0.6557 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.4131, allocations: 28.36 kB / 0.6557 GB, free: 4.578 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4131, allocations: 5.312 kB / 0.6557 GB, free: 4.574 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4131, allocations: 0 / 0.6557 GB, free: 4.574 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4132, allocations: 0 / 0.6557 GB, free: 4.574 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005974/0.4191, allocations: 0.857 MB / 0.6566 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4192, allocations: 0 / 0.6566 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.4204, allocations: 64 kB / 0.6566 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.4204, allocations: 0 / 0.6566 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.4205, allocations: 5.656 kB / 0.6566 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.4205, allocations: 7.984 kB / 0.6566 GB, free: 3.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4205, allocations: 0 / 0.6566 GB, free: 3.59 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001086/0.4216, allocations: 348.4 kB / 0.657 GB, free: 3.215 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.4217, allocations: 85.28 kB / 0.657 GB, free: 3.113 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4218, allocations: 4 kB / 0.6571 GB, free: 3.109 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.4229, allocations: 47.95 kB / 0.6571 GB, free: 3.062 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.4229, allocations: 7.984 kB / 0.6571 GB, free: 3.055 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.423, allocations: 3.984 kB / 0.6571 GB, free: 3.051 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.96e-05/0.4231, allocations: 92.88 kB / 0.6572 GB, free: 2.961 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.4235, allocations: 107.9 kB / 0.6573 GB, free: 2.855 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002637/0.4238, allocations: 124.1 kB / 0.6574 GB, free: 2.723 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007246/0.4245, allocations: 191.9 kB / 0.6576 GB, free: 2.535 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4245, allocations: 0 / 0.6576 GB, free: 2.535 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.4248, allocations: 67.92 kB / 0.6577 GB, free: 2.469 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.425, allocations: 9.719 kB / 0.6577 GB, free: 2.465 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/0.4282, allocations: 341.1 kB / 0.658 GB, free: 2.102 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007807/0.429, allocations: 0.7776 MB / 0.6588 GB, free: 1.297 MB / 474.7 MB Notification: Performance of SimCode: time 3.41e-07/0.429, allocations: 0 / 0.6588 GB, free: 1.297 MB / 474.7 MB Notification: Performance of Templates: time 0.01073/0.4397, allocations: 7.569 MB / 0.6662 GB, free: 9.715 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)