Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.262/2.262, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 184.2 kB / 490.8 MB, free: 1.973 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.674/1.674, allocations: 221.3 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009936/0.0009935, allocations: 83.05 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7788/0.7798, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/1.09, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9619/2.052, allocations: 150.7 MB / 1.359 GB, free: 16.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/2.052, allocations: 92.17 kB / 1.359 GB, free: 16.93 MB / 0.823 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.01195/2.064, allocations: 3.353 MB / 1.362 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/2.064, allocations: 9 kB / 1.362 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/2.064, allocations: 8.656 kB / 1.362 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/2.064, allocations: 174.9 kB / 1.362 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/2.064, allocations: 13.02 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/2.064, allocations: 2.75 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001331/2.064, allocations: 41.02 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/2.065, allocations: 67.56 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/2.065, allocations: 0 / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/2.065, allocations: 2.703 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/2.065, allocations: 0 / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/2.065, allocations: 264 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/2.065, allocations: 52.7 kB / 1.363 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/2.065, allocations: 49.92 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/2.065, allocations: 0 / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/2.065, allocations: 37.3 kB / 1.363 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/2.065, allocations: 0 / 1.363 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003764/2.066, allocations: 104.5 kB / 1.363 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/2.066, allocations: 86.98 kB / 1.363 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/2.066, allocations: 113.3 kB / 1.363 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/2.066, allocations: 25.7 kB / 1.363 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/2.066, allocations: 87.84 kB / 1.363 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/2.066, allocations: 10.69 kB / 1.363 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/2.066, allocations: 1.125 kB / 1.363 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001462/2.066, allocations: 315 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/2.066, allocations: 50.03 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.216e-05/2.067, allocations: 56.72 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/2.067, allocations: 56.77 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/2.067, allocations: 0 / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002621/2.067, allocations: 149 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/2.067, allocations: 5.906 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/2.067, allocations: 0 / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/2.067, allocations: 0 / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/2.067, allocations: 5.625 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/2.067, allocations: 64 / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.75e-05/2.067, allocations: 22.23 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/2.067, allocations: 2.781 kB / 1.364 GB, free: 31.07 MB / 0.8386 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 9.829e-05/2.067, allocations: 131.2 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/2.067, allocations: 6.875 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/2.067, allocations: 11.05 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/2.067, allocations: 1.312 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/2.067, allocations: 0 / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/2.067, allocations: 4 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/2.068, allocations: 152.2 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/2.068, allocations: 0 / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/2.068, allocations: 5.906 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/2.068, allocations: 3.938 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/2.068, allocations: 6.656 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/2.068, allocations: 1.031 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.068, allocations: 3.938 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002299/2.068, allocations: 209.9 kB / 1.364 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004139/2.068, allocations: 0.5712 MB / 1.365 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/2.068, allocations: 85.22 kB / 1.365 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/2.068, allocations: 4.844 kB / 1.365 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/2.069, allocations: 12 kB / 1.365 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/2.069, allocations: 8.438 kB / 1.365 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/2.069, allocations: 2.062 kB / 1.365 GB, free: 30 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.039e-05/2.069, allocations: 93.48 kB / 1.365 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001068/2.07, allocations: 73.2 kB / 1.365 GB, free: 29.91 MB / 0.8386 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.0003972/2.07, allocations: 163.6 kB / 1.365 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002197/2.07, allocations: 149.4 kB / 1.366 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.07, allocations: 4 kB / 1.366 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/2.071, allocations: 73.42 kB / 1.366 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/2.071, allocations: 1.375 kB / 1.366 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/2.071, allocations: 134.2 kB / 1.366 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/2.071, allocations: 0.6996 MB / 1.367 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/2.071, allocations: 0 / 1.367 GB, free: 28.93 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)