Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [: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.001155/0.001155, allocations: 184.5 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4499/0.4499, 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.196/1.196, allocations: 221.4 MB / 342.8 MB, free: 5.266 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.001028/0.001028, allocations: 94 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.919e-06/1.007e-05, allocations: 4 kB / 493.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3258, allocations: 72.3 MB / 0.5529 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.4368, allocations: 100.6 MB / 0.6512 GB, free: 9.453 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.4371, allocations: 76.73 kB / 0.6512 GB, free: 9.379 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.002272/0.4393, allocations: 0.5523 MB / 0.6518 GB, free: 8.836 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.4394, allocations: 0 / 0.6518 GB, free: 8.836 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002496/0.4396, allocations: 315 kB / 0.6521 GB, free: 8.484 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.4397, allocations: 9.625 kB / 0.6521 GB, free: 8.477 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.4397, allocations: 7.906 kB / 0.6521 GB, free: 8.469 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.4398, allocations: 167 kB / 0.6522 GB, free: 8.266 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4398, allocations: 3.938 kB / 0.6523 GB, free: 8.262 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.4399, allocations: 0.5 kB / 0.6523 GB, free: 8.262 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.5e-05/0.4399, allocations: 8.406 kB / 0.6523 GB, free: 8.258 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.4e-05/0.44, allocations: 41.61 kB / 0.6523 GB, free: 8.211 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4401, allocations: 4.531 kB / 0.6523 GB, free: 8.207 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.4401, allocations: 1.125 kB / 0.6523 GB, free: 8.207 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.4401, allocations: 4 kB / 0.6523 GB, free: 8.203 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.4402, allocations: 126.9 kB / 0.6524 GB, free: 8.043 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.4404, allocations: 26.34 kB / 0.6525 GB, free: 8.012 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.4405, allocations: 5.828 kB / 0.6525 GB, free: 8.004 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.4406, allocations: 85.19 kB / 0.6525 GB, free: 7.902 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.4407, allocations: 39.59 kB / 0.6526 GB, free: 7.855 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4407, allocations: 0 / 0.6526 GB, free: 7.855 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.002631/0.4433, allocations: 358.9 kB / 0.6529 GB, free: 7.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.4433, allocations: 52 kB / 0.653 GB, free: 7.457 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.503e-05/0.4434, allocations: 89.59 kB / 0.6531 GB, free: 7.363 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.4434, allocations: 26.48 kB / 0.6531 GB, free: 7.332 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.4434, allocations: 80.14 kB / 0.6532 GB, free: 7.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.4435, allocations: 14.84 kB / 0.6532 GB, free: 7.238 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.4435, allocations: 0.5312 kB / 0.6532 GB, free: 7.238 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.4436, allocations: 319.2 kB / 0.6535 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.4437, allocations: 12.5 kB / 0.6535 GB, free: 6.906 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.405e-05/0.4437, allocations: 20.27 kB / 0.6535 GB, free: 6.879 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.4438, allocations: 29.56 kB / 0.6535 GB, free: 6.852 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.4438, allocations: 0 / 0.6535 GB, free: 6.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001993/0.444, allocations: 62.27 kB / 0.6536 GB, free: 6.785 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4441, allocations: 4 kB / 0.6536 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4441, allocations: 1.156 kB / 0.6536 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4441, allocations: 4 kB / 0.6536 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.4445, allocations: 51.41 kB / 0.6537 GB, free: 6.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4446, allocations: 7.984 kB / 0.6537 GB, free: 6.723 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.4449, allocations: 37.2 kB / 0.6537 GB, free: 6.688 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.4449, allocations: 5.625 kB / 0.6537 GB, free: 6.684 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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 7.911e-05/0.445, allocations: 111.8 kB / 0.6538 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.445, allocations: 0 / 0.6538 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.4455, allocations: 105.2 kB / 0.6539 GB, free: 6.461 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4455, allocations: 3.938 kB / 0.6539 GB, free: 6.457 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4455, allocations: 3.938 kB / 0.6539 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4455, allocations: 4 kB / 0.6539 GB, free: 6.449 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.4459, allocations: 284.8 kB / 0.6542 GB, free: 6.129 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4459, allocations: 4 kB / 0.6542 GB, free: 6.125 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.4463, allocations: 47.97 kB / 0.6542 GB, free: 6.078 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4463, allocations: 4 kB / 0.6542 GB, free: 6.074 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.4464, allocations: 3.906 kB / 0.6542 GB, free: 6.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4464, allocations: 0 / 0.6542 GB, free: 6.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4464, allocations: 3 kB / 0.6543 GB, free: 6.07 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002691/0.4467, allocations: 165.3 kB / 0.6544 GB, free: 5.895 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.4467, allocations: 81.02 kB / 0.6545 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.4467, allocations: 0 / 0.6545 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.4471, allocations: 43.97 kB / 0.6545 GB, free: 5.754 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.4471, allocations: 0 / 0.6545 GB, free: 5.754 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.4472, allocations: 4 kB / 0.6545 GB, free: 5.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.697e-05/0.4472, allocations: 79.28 kB / 0.6546 GB, free: 5.672 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.4474, allocations: 8 kB / 0.6546 GB, free: 5.664 MB / 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001696/0.4476, allocations: 107.2 kB / 0.6547 GB, free: 5.551 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.4478, allocations: 27.94 kB / 0.6547 GB, free: 5.523 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4478, allocations: 0 / 0.6547 GB, free: 5.523 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/0.4478, allocations: 19.98 kB / 0.6548 GB, free: 5.504 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.448, allocations: 0 / 0.6548 GB, free: 5.504 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.4486, allocations: 104 kB / 0.6549 GB, free: 5.379 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.4489, allocations: 0.688 MB / 0.6555 GB, free: 4.664 MB / 474.7 MB Notification: Performance of SimCode: time 3.1e-07/0.449, allocations: 4 kB / 0.6555 GB, free: 4.66 MB / 474.7 MB Notification: Performance of Templates: time 0.003918/0.4529, allocations: 1.318 MB / 0.6568 GB, free: 3.371 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)