Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") [: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.0009549/0.000955, allocations: 192.4 kB / 7.807 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.4314/0.4314, allocations: 90.85 MB / 99.07 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.173/1.173, allocations: 221.4 MB / 342.8 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.0009443/0.0009442, allocations: 87.75 kB / 415.5 MB, free: 9.859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.348e-06/9.368e-06, allocations: 4 kB / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3133, allocations: 72.31 MB / 0.5529 GB, free: 44.89 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.4238, allocations: 99.98 MB / 0.6505 GB, free: 8.77 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.424, allocations: 80.69 kB / 0.6506 GB, free: 8.691 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.001208/0.4253, allocations: 238.1 kB / 0.6509 GB, free: 8.469 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.4253, allocations: 0.75 kB / 0.6509 GB, free: 8.469 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002154/0.4255, allocations: 317.2 kB / 0.6512 GB, free: 8.117 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4256, allocations: 8.031 kB / 0.6512 GB, free: 8.109 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.4257, allocations: 23.95 kB / 0.6512 GB, free: 8.086 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.989e-05/0.4258, allocations: 163 kB / 0.6513 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.4259, allocations: 0 / 0.6513 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.4259, allocations: 0 / 0.6513 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.566e-05/0.4259, allocations: 8 kB / 0.6513 GB, free: 7.879 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.471e-05/0.426, allocations: 29.69 kB / 0.6514 GB, free: 7.844 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.426, allocations: 4 kB / 0.6514 GB, free: 7.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.426, allocations: 3.938 kB / 0.6514 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.426, allocations: 0 / 0.6514 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.4261, allocations: 134.9 kB / 0.6515 GB, free: 7.668 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.569e-05/0.4262, allocations: 18.56 kB / 0.6515 GB, free: 7.641 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.4262, allocations: 8.141 kB / 0.6515 GB, free: 7.633 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.4262, allocations: 4.094 kB / 0.6515 GB, free: 7.629 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.4263, allocations: 38.56 kB / 0.6516 GB, free: 7.582 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.4263, allocations: 0 / 0.6516 GB, free: 7.582 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001134/0.4264, allocations: 29.7 kB / 0.6516 GB, free: 7.547 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.4264, allocations: 51.41 kB / 0.6517 GB, free: 7.484 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.924e-05/0.4265, allocations: 85 kB / 0.6517 GB, free: 7.395 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.4265, allocations: 26.36 kB / 0.6518 GB, free: 7.363 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.4265, allocations: 84.08 kB / 0.6518 GB, free: 7.277 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.4265, allocations: 3.906 kB / 0.6518 GB, free: 7.273 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.4266, allocations: 0 / 0.6518 GB, free: 7.273 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4267, allocations: 322.9 kB / 0.6522 GB, free: 6.949 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-06/0.4267, allocations: 0 / 0.6522 GB, free: 6.949 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.4267, allocations: 0 / 0.6522 GB, free: 6.949 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.496e-05/0.4267, allocations: 4.75 kB / 0.6522 GB, free: 6.945 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4267, allocations: 0 / 0.6522 GB, free: 6.945 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.332e-05/0.4268, allocations: 33.7 kB / 0.6522 GB, free: 6.906 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.4268, allocations: 4 kB / 0.6522 GB, free: 6.902 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4268, allocations: 0 / 0.6522 GB, free: 6.902 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.4268, allocations: 4.078 kB / 0.6522 GB, free: 6.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.4269, allocations: 8 kB / 0.6522 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.4269, allocations: 0 / 0.6522 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.427, allocations: 4.75 kB / 0.6522 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.427, allocations: 0 / 0.6522 GB, free: 6.887 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 (1): * Single equations (assignments): 1 * 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 5.906e-05/0.427, allocations: 104.9 kB / 0.6523 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.427, allocations: 3.984 kB / 0.6523 GB, free: 6.773 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.4271, allocations: 3 kB / 0.6523 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.4271, allocations: 4 kB / 0.6523 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4271, allocations: 7.938 kB / 0.6523 GB, free: 6.758 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4271, allocations: 3.984 kB / 0.6523 GB, free: 6.754 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.596e-05/0.4272, allocations: 127.5 kB / 0.6525 GB, free: 6.594 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4272, allocations: 0 / 0.6525 GB, free: 6.594 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.4272, allocations: 11.92 kB / 0.6525 GB, free: 6.582 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4273, allocations: 0 / 0.6525 GB, free: 6.582 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.4273, allocations: 0 / 0.6525 GB, free: 6.582 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4273, allocations: 0 / 0.6525 GB, free: 6.582 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4273, allocations: 0 / 0.6525 GB, free: 6.582 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.838e-05/0.4274, allocations: 69.03 kB / 0.6525 GB, free: 6.496 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.4274, allocations: 77.11 kB / 0.6526 GB, free: 6.402 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.4274, allocations: 0 / 0.6526 GB, free: 6.402 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.4274, allocations: 0 / 0.6526 GB, free: 6.402 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-06/0.4275, allocations: 4 kB / 0.6526 GB, free: 6.398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.4275, allocations: 4 kB / 0.6526 GB, free: 6.395 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.502e-05/0.4275, allocations: 75.28 kB / 0.6527 GB, free: 6.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.4277, allocations: 5.062 kB / 0.6527 GB, free: 6.316 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 (1): * Single equations (assignments): 1 * 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.0001156/0.4278, allocations: 99.23 kB / 0.6528 GB, free: 6.207 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.73e-05/0.4279, allocations: 7.938 kB / 0.6528 GB, free: 6.199 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.4279, allocations: 0 / 0.6528 GB, free: 6.199 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.197e-06/0.4279, allocations: 4 kB / 0.6528 GB, free: 6.195 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.811e-05/0.428, allocations: 0 / 0.6528 GB, free: 6.195 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001814/0.4282, allocations: 48.05 kB / 0.6528 GB, free: 6.125 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.4285, allocations: 0.6841 MB / 0.6535 GB, free: 5.414 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4285, allocations: 0.9375 kB / 0.6535 GB, free: 5.414 MB / 474.7 MB Notification: Performance of Templates: time 0.002031/0.4305, allocations: 279.8 kB / 0.6538 GB, free: 5.16 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)