Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.267/1.267, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.0009398/0.0009397, allocations: 189.2 kB / 316 MB, free: 3.555 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.137/1.137, allocations: 205.2 MB / 0.5667 GB, free: 15.74 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.000816/0.0008161, allocations: 85.38 kB / 0.671 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3716/0.3724, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.5547, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5338/1.089, allocations: 132.8 MB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/1.089, allocations: 81.08 kB / 1.014 GB, free: 5.723 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.009758/1.099, allocations: 3.307 MB / 1.018 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.099, allocations: 8 kB / 1.018 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/1.099, allocations: 7.906 kB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.099, allocations: 171 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/1.099, allocations: 0 / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/1.099, allocations: 4 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001231/1.099, allocations: 62.66 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/1.099, allocations: 104.8 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.099, allocations: 0 / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.099, allocations: 3.906 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/1.099, allocations: 3.984 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/1.099, allocations: 153.6 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/1.099, allocations: 81.84 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.938e-05/1.1, allocations: 76.22 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/1.1, allocations: 4 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/1.1, allocations: 34.47 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.1, allocations: 0 / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003448/1.1, allocations: 167.9 kB / 1.019 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/1.1, allocations: 81.09 kB / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/1.1, allocations: 123.3 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/1.1, allocations: 29.7 kB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/1.1, allocations: 87.94 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/1.1, allocations: 15.84 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/1.1, allocations: 0 / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/1.1, allocations: 322.3 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/1.1, allocations: 103.4 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/1.101, allocations: 101.4 kB / 1.019 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/1.101, allocations: 100.6 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.101, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000353/1.101, allocations: 268.4 kB / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.101, allocations: 6.031 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/1.101, allocations: 64 / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/1.101, allocations: 11.91 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/1.101, allocations: 3.938 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/1.101, allocations: 0 / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/1.101, allocations: 11.84 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/1.101, allocations: 4 kB / 1.02 GB, free: 0.6133 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 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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.451e-05/1.101, allocations: 138.7 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/1.101, allocations: 11.84 kB / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/1.101, allocations: 12 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/1.101, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/1.101, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/1.101, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.968e-05/1.102, allocations: 157 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.102, allocations: 0 / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/1.102, allocations: 3.938 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/1.102, allocations: 0 / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.102, allocations: 4 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/1.102, allocations: 0 / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.102, allocations: 0 / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002339/1.102, allocations: 204.1 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003195/1.102, allocations: 0.5674 MB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/1.102, allocations: 85.02 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/1.102, allocations: 0.875 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-05/1.102, allocations: 12.05 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/1.102, allocations: 11.06 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/1.102, allocations: 4 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.29e-05/1.102, allocations: 104.8 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008363/1.103, allocations: 67.31 kB / 1.021 GB, free: 15.18 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 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0003056/1.104, allocations: 166.3 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000255/1.104, allocations: 237.2 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.104, allocations: 4.062 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/1.104, allocations: 115.6 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.963e-05/1.104, allocations: 7.906 kB / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/1.104, allocations: 157.3 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/1.105, allocations: 0.7032 MB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.105, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)