Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") [: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.002024/0.002024, allocations: 185.4 kB / 7.799 MB, free: 2.281 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.455/0.455, 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.171/1.171, allocations: 221.4 MB / 342.8 MB, free: 5.215 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.0009113/0.0009113, allocations: 103.6 kB / 415.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.153e-05/1.165e-05, allocations: 8 kB / 493.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2678, allocations: 72.3 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.4061, allocations: 101.7 MB / 0.6522 GB, free: 6.934 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.4063, allocations: 80.67 kB / 0.6523 GB, free: 6.855 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01015/0.4165, allocations: 3.24 MB / 0.6555 GB, free: 3.625 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4165, allocations: 4 kB / 0.6555 GB, free: 3.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003236/0.4169, allocations: 395.9 kB / 0.6559 GB, free: 3.184 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.4169, allocations: 8.031 kB / 0.6559 GB, free: 3.176 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.4169, allocations: 11.91 kB / 0.6559 GB, free: 3.164 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.4171, allocations: 171 kB / 0.656 GB, free: 2.957 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.4171, allocations: 0 / 0.656 GB, free: 2.957 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.4171, allocations: 0 / 0.656 GB, free: 2.957 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001039/0.4172, allocations: 31.89 kB / 0.6561 GB, free: 2.926 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.69e-05/0.4173, allocations: 65.59 kB / 0.6561 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.4173, allocations: 1.219 kB / 0.6561 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4173, allocations: 0 / 0.6561 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4174, allocations: 0 / 0.6561 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.4175, allocations: 150.2 kB / 0.6563 GB, free: 2.672 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.4176, allocations: 50.56 kB / 0.6563 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.4176, allocations: 40.86 kB / 0.6564 GB, free: 2.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.4177, allocations: 3.906 kB / 0.6564 GB, free: 2.566 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4177, allocations: 30.56 kB / 0.6564 GB, free: 2.527 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.4177, allocations: 4 kB / 0.6564 GB, free: 2.523 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003109/0.418, allocations: 105.5 kB / 0.6565 GB, free: 2.414 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4181, allocations: 89.14 kB / 0.6566 GB, free: 2.309 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.4181, allocations: 101 kB / 0.6567 GB, free: 2.203 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.4182, allocations: 29.7 kB / 0.6567 GB, free: 2.168 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.27e-05/0.4182, allocations: 80.98 kB / 0.6568 GB, free: 2.086 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4182, allocations: 27.61 kB / 0.6568 GB, free: 2.059 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.4182, allocations: 4 kB / 0.6568 GB, free: 2.055 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.4183, allocations: 310.8 kB / 0.6571 GB, free: 1.742 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.4184, allocations: 27.97 kB / 0.6571 GB, free: 1.715 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.4184, allocations: 23.98 kB / 0.6572 GB, free: 1.691 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.4185, allocations: 39.98 kB / 0.6572 GB, free: 1.652 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4186, allocations: 0 / 0.6572 GB, free: 1.652 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002669/0.4188, allocations: 115.9 kB / 0.6573 GB, free: 1.535 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4189, allocations: 4.656 kB / 0.6573 GB, free: 1.531 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4189, allocations: 3.938 kB / 0.6573 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.4189, allocations: 0 / 0.6573 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.4189, allocations: 0 / 0.6573 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.4189, allocations: 0 / 0.6573 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.4189, allocations: 7.938 kB / 0.6573 GB, free: 1.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.419, allocations: 7.984 kB / 0.6573 GB, free: 1.512 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.839e-05/0.4191, allocations: 143.8 kB / 0.6575 GB, free: 1.359 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.4191, allocations: 4 kB / 0.6575 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.453e-05/0.4191, allocations: 8.359 kB / 0.6575 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4191, allocations: 7.906 kB / 0.6575 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4191, allocations: 0 / 0.6575 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.4191, allocations: 0 / 0.6575 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.601e-05/0.4192, allocations: 142.2 kB / 0.6576 GB, free: 1.164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4192, allocations: 0 / 0.6576 GB, free: 1.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.4192, allocations: 0 / 0.6576 GB, free: 1.164 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.4192, allocations: 0 / 0.6576 GB, free: 1.164 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4193, allocations: 15.89 kB / 0.6576 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.4193, allocations: 0 / 0.6576 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4193, allocations: 0 / 0.6576 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002629/0.4195, allocations: 154.1 kB / 0.6578 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.4196, allocations: 77.11 kB / 0.6579 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.4196, allocations: 11.84 kB / 0.6579 GB, free: 0.875 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.692e-05/0.4196, allocations: 3.938 kB / 0.6579 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.4197, allocations: 12.03 kB / 0.6579 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.4197, allocations: 11.98 kB / 0.6579 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.114e-05/0.4197, allocations: 87.28 kB / 0.658 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003039/0.42, allocations: 79.92 kB / 0.6581 GB, free: 0.6836 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002881/0.4203, allocations: 175.1 kB / 0.6582 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.4205, allocations: 109.7 kB / 0.6583 GB, free: 400 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4205, allocations: 0 / 0.6583 GB, free: 400 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.4206, allocations: 97.69 kB / 0.6584 GB, free: 296 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.4207, allocations: 20.17 kB / 0.6584 GB, free: 284 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.4209, allocations: 112.9 kB / 0.6586 GB, free: 148 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.4212, allocations: 0.6958 MB / 0.6592 GB, free: 15.42 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4212, allocations: 0 / 0.6592 GB, free: 15.42 MB / 490.7 MB Notification: Performance of Templates: time 0.003714/0.4249, allocations: 1.808 MB / 0.661 GB, free: 13.65 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)