Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 7.094 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.0009843/0.0009841, allocations: 185 kB / 316 MB, free: 3.535 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.167/1.167, allocations: 205.2 MB / 0.5667 GB, free: 15.77 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.0008581/0.0008584, allocations: 95.33 kB / 0.671 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3594/0.3603, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.5499, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5211/1.071, allocations: 131.6 MB / 1.013 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/1.071, allocations: 79.2 kB / 1.013 GB, free: 7.207 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.003916/1.075, allocations: 1.304 MB / 1.015 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/1.075, allocations: 8 kB / 1.015 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/1.075, allocations: 7.656 kB / 1.015 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/1.075, allocations: 179 kB / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/1.075, allocations: 0 / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/1.075, allocations: 7.984 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.996e-05/1.076, allocations: 23.27 kB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.173e-05/1.076, allocations: 41.12 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.076, allocations: 0.875 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/1.076, allocations: 0 / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/1.076, allocations: 3.938 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/1.076, allocations: 302.4 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.593e-05/1.076, allocations: 32.7 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/1.076, allocations: 16.86 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/1.076, allocations: 0 / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/1.076, allocations: 37.62 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/1.076, allocations: 0 / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.01855/1.095, allocations: 1.264 MB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/1.095, allocations: 55.41 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/1.095, allocations: 104.7 kB / 1.017 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.66e-05/1.095, allocations: 28.44 kB / 1.017 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/1.095, allocations: 91.73 kB / 1.017 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/1.095, allocations: 22.7 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/1.095, allocations: 0 / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.095, allocations: 313.8 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/1.096, allocations: 114.2 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/1.096, allocations: 117.4 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/1.097, allocations: 179.3 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/1.097, allocations: 0 / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00127/1.098, allocations: 334.8 kB / 1.018 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.098, allocations: 4 kB / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.098, allocations: 0 / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.098, allocations: 0 / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.1, allocations: 82.73 kB / 1.018 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.1, allocations: 3.906 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.101, allocations: 51.95 kB / 1.018 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/1.101, allocations: 7.984 kB / 1.018 GB, free: 2.77 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001722/1.101, allocations: 101 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/1.102, allocations: 7.906 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/1.102, allocations: 28.25 kB / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.102, allocations: 0 / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.102, allocations: 0 / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.102, allocations: 0 / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005947/1.108, allocations: 0.8473 MB / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.108, allocations: 0 / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.109, allocations: 71.84 kB / 1.019 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/1.109, allocations: 0 / 1.019 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/1.109, allocations: 4 kB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/1.109, allocations: 0 / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.109, allocations: 0 / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001067/1.11, allocations: 347.3 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001111/1.111, allocations: 0.7168 MB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/1.111, allocations: 85.02 kB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/1.111, allocations: 0 / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.113, allocations: 54.5 kB / 1.02 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/1.113, allocations: 7.594 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/1.113, allocations: 4 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.915e-05/1.113, allocations: 94.8 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001038/1.114, allocations: 99.94 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0002646/1.114, allocations: 130.3 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000719/1.115, allocations: 186.7 kB / 1.021 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/1.115, allocations: 0 / 1.021 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/1.115, allocations: 68.42 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/1.115, allocations: 7.906 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/1.118, allocations: 343.7 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007686/1.119, allocations: 0.7776 MB / 1.022 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/1.119, allocations: 0 / 1.022 GB, free: 14.81 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)