Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7158/0.7158, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 185.2 kB / 164.4 MB, free: 6.859 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001135, allocations: 83.34 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.323/0.3242, allocations: 82.91 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.4992, allocations: 76.75 MB / 0.621 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5609/1.06, allocations: 103.4 MB / 0.722 GB, free: 8.84 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/1.061, allocations: 97.67 kB / 0.7221 GB, free: 8.746 MB / 490.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.01056/1.071, allocations: 3.389 MB / 0.7254 GB, free: 5.312 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.071, allocations: 8 kB / 0.7254 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/1.071, allocations: 11.91 kB / 0.7254 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/1.071, allocations: 175 kB / 0.7256 GB, free: 5.082 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/1.071, allocations: 0 / 0.7256 GB, free: 5.082 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/1.071, allocations: 4 kB / 0.7256 GB, free: 5.078 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/1.072, allocations: 39.98 kB / 0.7256 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/1.072, allocations: 73.61 kB / 0.7257 GB, free: 4.961 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/1.072, allocations: 0 / 0.7257 GB, free: 4.961 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/1.072, allocations: 0 / 0.7257 GB, free: 4.961 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/1.072, allocations: 3.938 kB / 0.7257 GB, free: 4.957 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/1.072, allocations: 268.3 kB / 0.726 GB, free: 4.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.427e-05/1.072, allocations: 54.56 kB / 0.726 GB, free: 4.598 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/1.072, allocations: 44.91 kB / 0.7261 GB, free: 4.551 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/1.072, allocations: 4 kB / 0.7261 GB, free: 4.547 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/1.072, allocations: 34.5 kB / 0.7261 GB, free: 4.504 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/1.072, allocations: 4 kB / 0.7261 GB, free: 4.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002583/1.073, allocations: 109.6 kB / 0.7262 GB, free: 4.387 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.073, allocations: 77.11 kB / 0.7263 GB, free: 4.293 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.725e-05/1.073, allocations: 113.9 kB / 0.7264 GB, free: 4.176 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/1.073, allocations: 25.7 kB / 0.7264 GB, free: 4.145 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/1.073, allocations: 80.14 kB / 0.7265 GB, free: 4.062 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/1.073, allocations: 11.81 kB / 0.7265 GB, free: 4.051 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/1.073, allocations: 0 / 0.7265 GB, free: 4.051 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/1.073, allocations: 326.9 kB / 0.7268 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/1.073, allocations: 53 kB / 0.7269 GB, free: 3.672 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/1.073, allocations: 47.98 kB / 0.7269 GB, free: 3.625 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/1.073, allocations: 55.97 kB / 0.727 GB, free: 3.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.073, allocations: 0 / 0.727 GB, free: 3.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002353/1.074, allocations: 149.5 kB / 0.7271 GB, free: 3.418 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.074, allocations: 7.984 kB / 0.7271 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/1.074, allocations: 0 / 0.7271 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.074, allocations: 4 kB / 0.7271 GB, free: 3.406 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/1.074, allocations: 8 kB / 0.7271 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/1.074, allocations: 0 / 0.7271 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/1.074, allocations: 4 kB / 0.7271 GB, free: 3.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/1.074, allocations: 11.92 kB / 0.7271 GB, free: 3.383 MB / 490.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.0001016/1.074, allocations: 134.6 kB / 0.7273 GB, free: 3.238 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/1.074, allocations: 7.938 kB / 0.7273 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/1.074, allocations: 4 kB / 0.7273 GB, free: 3.227 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/1.074, allocations: 7.906 kB / 0.7273 GB, free: 3.219 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.074, allocations: 0 / 0.7273 GB, free: 3.219 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.074, allocations: 0 / 0.7273 GB, free: 3.219 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/1.074, allocations: 150.2 kB / 0.7274 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.074, allocations: 4 kB / 0.7274 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/1.074, allocations: 4.875 kB / 0.7274 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.074, allocations: 0 / 0.7274 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/1.074, allocations: 0 / 0.7274 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.074, allocations: 3.984 kB / 0.7275 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.074, allocations: 3.906 kB / 0.7275 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002293/1.075, allocations: 219.3 kB / 0.7277 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003437/1.075, allocations: 0.5742 MB / 0.7282 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/1.075, allocations: 85.11 kB / 0.7283 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/1.075, allocations: 0 / 0.7283 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/1.075, allocations: 16.05 kB / 0.7283 GB, free: 2.078 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/1.075, allocations: 3.906 kB / 0.7283 GB, free: 2.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/1.075, allocations: 8 kB / 0.7283 GB, free: 2.066 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.262e-05/1.075, allocations: 95.64 kB / 0.7284 GB, free: 1.973 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008996/1.076, allocations: 75.86 kB / 0.7285 GB, free: 1.898 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.0003119/1.076, allocations: 155.2 kB / 0.7286 GB, free: 1.734 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002243/1.077, allocations: 163.3 kB / 0.7288 GB, free: 1.562 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.077, allocations: 0 / 0.7288 GB, free: 1.562 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/1.077, allocations: 73.67 kB / 0.7289 GB, free: 1.484 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/1.077, allocations: 4 kB / 0.7289 GB, free: 1.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/1.077, allocations: 119.7 kB / 0.729 GB, free: 1.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/1.078, allocations: 0.6993 MB / 0.7297 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/1.078, allocations: 0 / 0.7297 GB, free: 0.6172 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)