Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 189.2 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000842/0.0008423, allocations: 82.39 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.388/0.3888, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.5661, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5011/1.067, allocations: 133.4 MB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.068, allocations: 90.38 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB 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.009886/1.077, allocations: 3.337 MB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/1.077, allocations: 15.94 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/1.078, allocations: 7.906 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/1.078, allocations: 163.1 kB / 1.019 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/1.078, allocations: 4 kB / 1.019 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/1.078, allocations: 4.844 kB / 1.019 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.619e-05/1.078, allocations: 34.98 kB / 1.019 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/1.078, allocations: 75.98 kB / 1.019 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/1.078, allocations: 0 / 1.019 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/1.078, allocations: 0 / 1.019 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/1.078, allocations: 4 kB / 1.019 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/1.078, allocations: 259.4 kB / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.85e-05/1.078, allocations: 61.11 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/1.078, allocations: 43.42 kB / 1.019 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/1.078, allocations: 0 / 1.019 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/1.078, allocations: 38.44 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/1.078, allocations: 0 / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002248/1.079, allocations: 109.3 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/1.079, allocations: 77.11 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/1.079, allocations: 119.7 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/1.079, allocations: 29.73 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/1.079, allocations: 91.64 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/1.079, allocations: 3.906 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/1.079, allocations: 0 / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/1.079, allocations: 326.5 kB / 1.02 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/1.079, allocations: 46.3 kB / 1.02 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/1.079, allocations: 57.09 kB / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/1.079, allocations: 49.72 kB / 1.02 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.079, allocations: 0 / 1.02 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000199/1.079, allocations: 144.6 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.079, allocations: 8 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/1.08, allocations: 0 / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.08, allocations: 3.906 kB / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/1.08, allocations: 7.984 kB / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/1.08, allocations: 3.984 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/1.08, allocations: 10.75 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/1.08, allocations: 0 / 1.02 GB, free: 0.6719 MB / 0.6355 GB 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 8.203e-05/1.08, allocations: 138.7 kB / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/1.08, allocations: 7.906 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/1.08, allocations: 11.44 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/1.08, allocations: 0 / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.08, allocations: 0 / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/1.08, allocations: 7.906 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/1.08, allocations: 152 kB / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/1.08, allocations: 0 / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/1.08, allocations: 8 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/1.08, allocations: 64 / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/1.08, allocations: 4 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/1.08, allocations: 0 / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.08, allocations: 4 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001823/1.08, allocations: 204.7 kB / 1.021 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003257/1.081, allocations: 0.5851 MB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/1.081, allocations: 81.02 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/1.081, allocations: 0 / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/1.081, allocations: 11.98 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/1.081, allocations: 4 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/1.081, allocations: 0 / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.175e-05/1.081, allocations: 102.8 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008813/1.082, allocations: 70.69 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB 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.0002856/1.082, allocations: 167.1 kB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001916/1.082, allocations: 153.4 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.082, allocations: 0 / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/1.082, allocations: 76 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/1.083, allocations: 0 / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/1.083, allocations: 130.5 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/1.083, allocations: 0.6993 MB / 1.023 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.083, allocations: 0 / 1.023 GB, free: 14.01 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)