Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") [: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.001/0.001, allocations: 188.9 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.441/0.441, allocations: 90.86 MB / 99.08 MB, free: 14.95 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.225/1.225, allocations: 221.4 MB / 342.8 MB, free: 5.523 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.0009674/0.0009675, allocations: 97.44 kB / 415.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.943e-06, allocations: 0 / 493.9 MB, free: 8.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3144, allocations: 72.31 MB / 0.5529 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.4174, allocations: 101.1 MB / 0.6517 GB, free: 8.902 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.4176, allocations: 71.97 kB / 0.6517 GB, free: 8.832 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003085/0.4207, allocations: 0.8087 MB / 0.6525 GB, free: 8.047 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.4207, allocations: 0 / 0.6525 GB, free: 8.047 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.0003863/0.4211, allocations: 345.1 kB / 0.6528 GB, free: 7.668 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4212, allocations: 8.75 kB / 0.6529 GB, free: 7.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.4212, allocations: 0 / 0.6529 GB, free: 7.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.4214, allocations: 171.4 kB / 0.653 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4214, allocations: 0 / 0.653 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.4214, allocations: 2.062 kB / 0.653 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.665e-05/0.4215, allocations: 12 kB / 0.653 GB, free: 7.441 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.327e-05/0.4215, allocations: 33.69 kB / 0.6531 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4215, allocations: 0 / 0.6531 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.4216, allocations: 0 / 0.6531 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4216, allocations: 0.9688 kB / 0.6531 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.422, allocations: 256.6 kB / 0.6533 GB, free: 7.117 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.172e-05/0.422, allocations: 23.52 kB / 0.6533 GB, free: 7.086 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.4221, allocations: 15.55 kB / 0.6533 GB, free: 7.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.4222, allocations: 82.67 kB / 0.6534 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.4222, allocations: 30.56 kB / 0.6535 GB, free: 6.934 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.4223, allocations: 1.344 kB / 0.6535 GB, free: 6.934 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002584/0.4225, allocations: 61.52 kB / 0.6535 GB, free: 6.867 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.4226, allocations: 51.41 kB / 0.6536 GB, free: 6.805 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.9e-05/0.4226, allocations: 93.75 kB / 0.6537 GB, free: 6.707 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.4227, allocations: 26.2 kB / 0.6537 GB, free: 6.676 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.4227, allocations: 84.88 kB / 0.6538 GB, free: 6.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.4227, allocations: 11.84 kB / 0.6538 GB, free: 6.578 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4227, allocations: 0.7188 kB / 0.6538 GB, free: 6.578 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4229, allocations: 315.4 kB / 0.6541 GB, free: 6.262 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.4229, allocations: 4.906 kB / 0.6541 GB, free: 6.258 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.4229, allocations: 4 kB / 0.6541 GB, free: 6.254 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.423, allocations: 19.53 kB / 0.6541 GB, free: 6.238 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.423, allocations: 0 / 0.6541 GB, free: 6.238 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.4232, allocations: 50.44 kB / 0.6541 GB, free: 6.184 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4232, allocations: 4.844 kB / 0.6542 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4232, allocations: 0 / 0.6542 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4233, allocations: 4.594 kB / 0.6542 GB, free: 6.176 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4234, allocations: 18.92 kB / 0.6542 GB, free: 6.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4234, allocations: 5.125 kB / 0.6542 GB, free: 6.156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.4234, allocations: 7.984 kB / 0.6542 GB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.4235, allocations: 4.594 kB / 0.6542 GB, free: 6.145 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 (2): * Single equations (assignments): 2 * 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 6.797e-05/0.4235, allocations: 108.4 kB / 0.6543 GB, free: 6.035 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.4236, allocations: 8.406 kB / 0.6543 GB, free: 6.027 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.4238, allocations: 61.53 kB / 0.6544 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4238, allocations: 0.625 kB / 0.6544 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4238, allocations: 1.938 kB / 0.6544 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4238, allocations: 4.578 kB / 0.6544 GB, free: 5.957 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.4239, allocations: 139 kB / 0.6545 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.424, allocations: 0 / 0.6545 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.424, allocations: 13.23 kB / 0.6545 GB, free: 5.773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.424, allocations: 8.625 kB / 0.6545 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4241, allocations: 0 / 0.6545 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4241, allocations: 0.7812 kB / 0.6545 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4241, allocations: 0 / 0.6545 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000179/0.4243, allocations: 149.4 kB / 0.6547 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.4243, allocations: 85.02 kB / 0.6547 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.4243, allocations: 0.5 kB / 0.6547 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/0.4244, allocations: 13.86 kB / 0.6548 GB, free: 5.492 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.4245, allocations: 2.062 kB / 0.6548 GB, free: 5.492 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.4245, allocations: 0.7812 kB / 0.6548 GB, free: 5.492 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.916e-05/0.4245, allocations: 79.28 kB / 0.6548 GB, free: 5.414 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.4248, allocations: 19.47 kB / 0.6549 GB, free: 5.398 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 (2): * Single equations (assignments): 2 * 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.000123/0.4249, allocations: 100.9 kB / 0.655 GB, free: 5.293 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.232e-05/0.425, allocations: 12 kB / 0.655 GB, free: 5.281 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.425, allocations: 0 / 0.655 GB, free: 5.281 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.425, allocations: 15.94 kB / 0.655 GB, free: 5.266 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.4252, allocations: 3.906 kB / 0.655 GB, free: 5.262 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002043/0.4254, allocations: 67.91 kB / 0.6551 GB, free: 5.172 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.4256, allocations: 0.6919 MB / 0.6557 GB, free: 4.453 MB / 474.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4257, allocations: 0 / 0.6557 GB, free: 4.453 MB / 474.7 MB Notification: Performance of Templates: time 0.002134/0.4278, allocations: 0.5008 MB / 0.6562 GB, free: 3.98 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)