Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [: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.001117/0.001117, allocations: 184.5 kB / 7.804 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4548/0.4548, allocations: 90.85 MB / 99.08 MB, free: 14.97 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.276/1.276, allocations: 221.4 MB / 342.8 MB, free: 5.211 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.0009888/0.0009889, allocations: 98.42 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.357e-06/9.387e-06, allocations: 0 / 493.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3744, allocations: 72.3 MB / 0.5529 GB, free: 73.3 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.5008, allocations: 102.2 MB / 0.6527 GB, free: 7.871 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5011, allocations: 91.92 kB / 0.6528 GB, free: 7.781 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.009967/0.5111, allocations: 2.944 MB / 0.6557 GB, free: 4.887 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5111, allocations: 4 kB / 0.6557 GB, free: 4.883 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006002/0.5117, allocations: 421 kB / 0.6561 GB, free: 4.418 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001116/0.5118, allocations: 8.531 kB / 0.6561 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.512, allocations: 8.438 kB / 0.6561 GB, free: 4.402 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.5122, allocations: 170.6 kB / 0.6563 GB, free: 4.199 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.5123, allocations: 7.984 kB / 0.6563 GB, free: 4.191 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.5123, allocations: 6.719 kB / 0.6563 GB, free: 4.188 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001249/0.5124, allocations: 43.83 kB / 0.6563 GB, free: 4.145 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.5126, allocations: 70.27 kB / 0.6564 GB, free: 4.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5126, allocations: 0 / 0.6564 GB, free: 4.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5126, allocations: 0.625 kB / 0.6564 GB, free: 4.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.5126, allocations: 1.344 kB / 0.6564 GB, free: 4.07 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.5131, allocations: 258.1 kB / 0.6567 GB, free: 3.781 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.067e-05/0.5132, allocations: 59.83 kB / 0.6567 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.5133, allocations: 40.92 kB / 0.6568 GB, free: 3.672 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.5133, allocations: 8.531 kB / 0.6568 GB, free: 3.664 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.5134, allocations: 36.94 kB / 0.6568 GB, free: 3.621 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.5134, allocations: 0 / 0.6568 GB, free: 3.621 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002966/0.5137, allocations: 110.4 kB / 0.6569 GB, free: 3.508 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.5137, allocations: 77.11 kB / 0.657 GB, free: 3.414 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.5138, allocations: 117.3 kB / 0.6571 GB, free: 3.293 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.5139, allocations: 26.36 kB / 0.6571 GB, free: 3.262 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.5139, allocations: 84.17 kB / 0.6572 GB, free: 3.176 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.514, allocations: 11.89 kB / 0.6572 GB, free: 3.164 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.514, allocations: 0 / 0.6572 GB, free: 3.164 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5141, allocations: 318.8 kB / 0.6575 GB, free: 2.844 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.5143, allocations: 55.97 kB / 0.6576 GB, free: 2.789 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.5143, allocations: 51.97 kB / 0.6576 GB, free: 2.738 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.5145, allocations: 55.97 kB / 0.6577 GB, free: 2.684 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5145, allocations: 0 / 0.6577 GB, free: 2.684 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002599/0.5148, allocations: 145.6 kB / 0.6578 GB, free: 2.535 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5148, allocations: 8 kB / 0.6578 GB, free: 2.527 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.5148, allocations: 1.25 kB / 0.6578 GB, free: 2.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5148, allocations: 96 / 0.6578 GB, free: 2.527 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.5149, allocations: 11.89 kB / 0.6578 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.5149, allocations: 7.094 kB / 0.6578 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.515, allocations: 7.984 kB / 0.6578 GB, free: 2.504 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.515, allocations: 4 kB / 0.6578 GB, free: 2.5 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001038/0.5151, allocations: 134.7 kB / 0.658 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.5151, allocations: 3.906 kB / 0.658 GB, free: 2.352 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.5152, allocations: 8 kB / 0.658 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5152, allocations: 0 / 0.658 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5152, allocations: 3.984 kB / 0.658 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.5152, allocations: 0 / 0.658 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.5154, allocations: 155.7 kB / 0.6581 GB, free: 2.145 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5154, allocations: 0 / 0.6581 GB, free: 2.145 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.5154, allocations: 7.984 kB / 0.6581 GB, free: 2.137 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5154, allocations: 8 kB / 0.6581 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5155, allocations: 0 / 0.6581 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5155, allocations: 0 / 0.6581 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5155, allocations: 0 / 0.6581 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002396/0.5157, allocations: 211.4 kB / 0.6583 GB, free: 1.906 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.5158, allocations: 81.02 kB / 0.6584 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.5158, allocations: 4 kB / 0.6584 GB, free: 1.805 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.5159, allocations: 12.02 kB / 0.6584 GB, free: 1.793 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.516, allocations: 5.125 kB / 0.6584 GB, free: 1.789 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.516, allocations: 0 / 0.6584 GB, free: 1.789 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.312e-05/0.5161, allocations: 101 kB / 0.6585 GB, free: 1.691 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.5164, allocations: 67.86 kB / 0.6586 GB, free: 1.625 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0003368/0.5168, allocations: 159.2 kB / 0.6588 GB, free: 1.461 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.517, allocations: 155.3 kB / 0.6589 GB, free: 1.297 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.517, allocations: 4 kB / 0.6589 GB, free: 1.293 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.5171, allocations: 77.67 kB / 0.659 GB, free: 1.211 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.5174, allocations: 3.906 kB / 0.659 GB, free: 1.207 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.5178, allocations: 119.8 kB / 0.6591 GB, free: 1.066 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.5182, allocations: 0.7021 MB / 0.6598 GB, free: 352 kB / 474.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5183, allocations: 0 / 0.6598 GB, free: 352 kB / 474.7 MB Notification: Performance of Templates: time 0.004436/0.5227, allocations: 1.559 MB / 0.6613 GB, free: 14.82 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)