Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") [: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.0009725/0.0009725, allocations: 193.1 kB / 7.804 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4392/0.4392, allocations: 90.86 MB / 99.07 MB, free: 14.78 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.162/1.162, allocations: 221.4 MB / 342.7 MB, free: 5.109 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.001007/0.001007, allocations: 95.53 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.745e-06/7.765e-06, allocations: 4 kB / 493.9 MB, free: 8.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3298, allocations: 72.29 MB / 0.5529 GB, free: 73.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.4463, allocations: 102.5 MB / 0.653 GB, free: 7.465 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.4467, allocations: 71.97 kB / 0.6531 GB, free: 7.395 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01552/0.4622, allocations: 4.74 MB / 0.6577 GB, free: 2.703 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.4623, allocations: 5.625 kB / 0.6577 GB, free: 2.699 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005406/0.4628, allocations: 409 kB / 0.6581 GB, free: 2.258 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4629, allocations: 12.55 kB / 0.6581 GB, free: 2.246 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008015/0.4637, allocations: 138.5 kB / 0.6583 GB, free: 2.117 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.4639, allocations: 186.8 kB / 0.6584 GB, free: 1.895 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.464, allocations: 63.41 kB / 0.6585 GB, free: 1.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.464, allocations: 4 kB / 0.6585 GB, free: 1.816 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001879/0.4642, allocations: 71.98 kB / 0.6586 GB, free: 1.746 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.4644, allocations: 110.3 kB / 0.6587 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4644, allocations: 0 / 0.6587 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.4645, allocations: 7.891 kB / 0.6587 GB, free: 1.629 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4645, allocations: 4 kB / 0.6587 GB, free: 1.625 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.4657, allocations: 480.2 kB / 0.6591 GB, free: 1.117 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.4658, allocations: 90.5 kB / 0.6592 GB, free: 1.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.227e-05/0.4659, allocations: 44.97 kB / 0.6593 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.4659, allocations: 4 kB / 0.6593 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.466, allocations: 34.56 kB / 0.6593 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.466, allocations: 0 / 0.6593 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002957/0.4663, allocations: 99.7 kB / 0.6594 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.4663, allocations: 55.41 kB / 0.6595 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4664, allocations: 119.9 kB / 0.6596 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.4665, allocations: 29.7 kB / 0.6596 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.4665, allocations: 108 kB / 0.6597 GB, free: 500 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.4666, allocations: 23.73 kB / 0.6597 GB, free: 476 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.4666, allocations: 0 / 0.6597 GB, free: 476 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4667, allocations: 322.8 kB / 0.66 GB, free: 144 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-05/0.4668, allocations: 31.98 kB / 0.6601 GB, free: 112 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.359e-05/0.4668, allocations: 54.52 kB / 0.6601 GB, free: 48 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.921e-05/0.4669, allocations: 27.98 kB / 0.6601 GB, free: 20 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4669, allocations: 0 / 0.6601 GB, free: 20 kB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002226/0.4672, allocations: 117.5 kB / 0.6603 GB, free: 15.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4672, allocations: 8 kB / 0.6603 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4672, allocations: 0 / 0.6603 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4672, allocations: 0 / 0.6603 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.4675, allocations: 48.02 kB / 0.6603 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4676, allocations: 7.984 kB / 0.6603 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.4678, allocations: 39.06 kB / 0.6604 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.4678, allocations: 4 kB / 0.6604 GB, free: 15.8 MB / 490.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 (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 prepare postOptimizeDAE: time 8.439e-05/0.4679, allocations: 109 kB / 0.6605 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.4679, allocations: 7.906 kB / 0.6605 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.4682, allocations: 129.6 kB / 0.6606 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4682, allocations: 0 / 0.6606 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4683, allocations: 0 / 0.6606 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4683, allocations: 3.906 kB / 0.6606 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.4685, allocations: 210.9 kB / 0.6608 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4685, allocations: 0 / 0.6608 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.4688, allocations: 51.95 kB / 0.6608 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4688, allocations: 0 / 0.6608 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.4688, allocations: 3.984 kB / 0.6608 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4688, allocations: 8 kB / 0.6609 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.4688, allocations: 5.234 kB / 0.6609 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002286/0.4691, allocations: 199.4 kB / 0.6611 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.4691, allocations: 85.02 kB / 0.6611 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.4691, allocations: 0 / 0.6611 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.4695, allocations: 47.95 kB / 0.6612 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.4695, allocations: 7.984 kB / 0.6612 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.4696, allocations: 15.83 kB / 0.6612 GB, free: 14.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.819e-05/0.4696, allocations: 99.28 kB / 0.6613 GB, free: 14.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.4699, allocations: 16 kB / 0.6613 GB, free: 14.74 MB / 490.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 (6): * Single equations (assignments): 6 * 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.0001698/0.4701, allocations: 100.9 kB / 0.6614 GB, free: 14.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.4703, allocations: 79.92 kB / 0.6615 GB, free: 14.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4703, allocations: 0 / 0.6615 GB, free: 14.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-05/0.4704, allocations: 44.12 kB / 0.6615 GB, free: 14.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.4706, allocations: 4 kB / 0.6615 GB, free: 14.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.471, allocations: 143.6 kB / 0.6617 GB, free: 14.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.4714, allocations: 0.726 MB / 0.6624 GB, free: 13.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4714, allocations: 0 / 0.6624 GB, free: 13.6 MB / 490.7 MB Notification: Performance of Templates: time 0.004115/0.4755, allocations: 1.697 MB / 0.664 GB, free: 11.94 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)