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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [: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.002298/0.002298, allocations: 192.5 kB / 7.806 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.4662/0.4662, allocations: 90.85 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.269/1.269, allocations: 221.4 MB / 342.8 MB, free: 5.191 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.001026/0.001026, allocations: 94.58 kB / 415.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1825/0.1835, allocations: 78.47 MB / 494 MB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.5259, allocations: 72.29 MB / 0.553 GB, free: 44.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.656, allocations: 102.2 MB / 0.6528 GB, free: 6.391 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.6563, allocations: 91.92 kB / 0.6529 GB, free: 6.301 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.01039/0.6667, allocations: 3.384 MB / 0.6562 GB, free: 2.875 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.6668, allocations: 8 kB / 0.6562 GB, free: 2.867 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.6668, allocations: 7.906 kB / 0.6562 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.667, allocations: 164.6 kB / 0.6564 GB, free: 2.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.667, allocations: 0 / 0.6564 GB, free: 2.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.6671, allocations: 4 kB / 0.6564 GB, free: 2.656 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/0.6672, allocations: 39.89 kB / 0.6564 GB, free: 2.617 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.6673, allocations: 74.52 kB / 0.6565 GB, free: 2.539 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.6673, allocations: 3.938 kB / 0.6565 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.6674, allocations: 0 / 0.6565 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.6674, allocations: 0 / 0.6565 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.6678, allocations: 265.3 kB / 0.6568 GB, free: 2.238 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.122e-05/0.668, allocations: 50.56 kB / 0.6568 GB, free: 2.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.668, allocations: 44.92 kB / 0.6568 GB, free: 2.133 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.668, allocations: 4 kB / 0.6568 GB, free: 2.129 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.6681, allocations: 30.56 kB / 0.6569 GB, free: 2.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 3.266e-06/0.6681, allocations: 0.9375 kB / 0.6569 GB, free: 2.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003012/0.6684, allocations: 117.4 kB / 0.657 GB, free: 1.969 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.6685, allocations: 77.11 kB / 0.6571 GB, free: 1.875 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.6686, allocations: 120.8 kB / 0.6572 GB, free: 1.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.6686, allocations: 29.73 kB / 0.6572 GB, free: 1.715 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.6686, allocations: 80.14 kB / 0.6573 GB, free: 1.633 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.6687, allocations: 11.91 kB / 0.6573 GB, free: 1.621 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.6687, allocations: 0 / 0.6573 GB, free: 1.621 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6688, allocations: 318.8 kB / 0.6576 GB, free: 1.301 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.6689, allocations: 47.98 kB / 0.6576 GB, free: 1.254 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.669, allocations: 52.62 kB / 0.6577 GB, free: 1.203 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.6691, allocations: 59.88 kB / 0.6578 GB, free: 1.145 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6691, allocations: 0 / 0.6578 GB, free: 1.145 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00023/0.6694, allocations: 145.6 kB / 0.6579 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6694, allocations: 4 kB / 0.6579 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6694, allocations: 96 / 0.6579 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6694, allocations: 7.984 kB / 0.6579 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.6695, allocations: 14.98 kB / 0.6579 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.6695, allocations: 7.906 kB / 0.6579 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.6696, allocations: 4 kB / 0.6579 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.6696, allocations: 4 kB / 0.6579 GB, free: 0.957 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.0001446/0.6697, allocations: 138.7 kB / 0.6581 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.6698, allocations: 7.906 kB / 0.6581 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.6698, allocations: 8 kB / 0.6581 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.6698, allocations: 0 / 0.6581 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6698, allocations: 0 / 0.6581 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6698, allocations: 0 / 0.6581 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.67, allocations: 150.1 kB / 0.6582 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.67, allocations: 4 kB / 0.6582 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.6701, allocations: 11.94 kB / 0.6582 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.6701, allocations: 0 / 0.6582 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.6701, allocations: 0 / 0.6582 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6701, allocations: 0 / 0.6582 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6701, allocations: 0 / 0.6582 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002275/0.6703, allocations: 211.4 kB / 0.6584 GB, free: 372 kB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003834/0.6707, allocations: 0.5779 MB / 0.659 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.6708, allocations: 85.02 kB / 0.6591 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.6708, allocations: 0 / 0.6591 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.6709, allocations: 11.98 kB / 0.6591 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.671, allocations: 4 kB / 0.6591 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.671, allocations: 4 kB / 0.6591 GB, free: 15.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.495e-05/0.671, allocations: 96.72 kB / 0.6592 GB, free: 15.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008786/0.6719, allocations: 71.78 kB / 0.6593 GB, free: 15.48 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: 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.0002944/0.6722, allocations: 163.1 kB / 0.6594 GB, free: 15.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.6725, allocations: 155.3 kB / 0.6596 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6725, allocations: 0 / 0.6596 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.6726, allocations: 73.69 kB / 0.6596 GB, free: 15.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.6727, allocations: 0.9375 kB / 0.6596 GB, free: 15.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.673, allocations: 129.7 kB / 0.6598 GB, free: 14.92 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.6734, allocations: 0.6954 MB / 0.6604 GB, free: 14.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.934e-06/0.6734, allocations: 4 kB / 0.6604 GB, free: 14.2 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)