Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.838/1.838, allocations: 390.4 MB / 397.7 MB, free: 1.93 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009445/0.0009445, allocations: 183.1 kB / 490.8 MB, free: 7.543 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 221.3 MB / 0.7863 GB, free: 316 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008786/0.0008782, allocations: 88.69 kB / 0.9264 GB, free: 0.6875 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.3831/0.3841, allocations: 149.1 MB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.5783, allocations: 143 MB / 1.212 GB, free: 10.53 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.522/1.1, allocations: 150.1 MB / 1.358 GB, free: 12.02 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/1.101, allocations: 83.94 kB / 1.358 GB, free: 11.94 MB / 0.8311 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.00946/1.11, allocations: 3.336 MB / 1.362 GB, free: 8.562 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.11, allocations: 8 kB / 1.362 GB, free: 8.555 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/1.11, allocations: 7.906 kB / 1.362 GB, free: 8.547 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/1.11, allocations: 171.2 kB / 1.362 GB, free: 8.34 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/1.11, allocations: 7.906 kB / 1.362 GB, free: 8.332 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/1.11, allocations: 0 / 1.362 GB, free: 8.332 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001096/1.11, allocations: 67.95 kB / 1.362 GB, free: 8.266 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/1.111, allocations: 97.66 kB / 1.362 GB, free: 8.164 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/1.111, allocations: 0 / 1.362 GB, free: 8.164 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/1.111, allocations: 3.938 kB / 1.362 GB, free: 8.16 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/1.111, allocations: 0 / 1.362 GB, free: 8.16 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/1.111, allocations: 158.1 kB / 1.362 GB, free: 7.969 MB / 0.8311 GB Notification: Performance of preOpt comSubExp (simulation): time 9.283e-05/1.111, allocations: 86.52 kB / 1.362 GB, free: 7.875 MB / 0.8311 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/1.111, allocations: 68.89 kB / 1.362 GB, free: 7.805 MB / 0.8311 GB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-06/1.111, allocations: 4 kB / 1.362 GB, free: 7.801 MB / 0.8311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/1.111, allocations: 34.56 kB / 1.362 GB, free: 7.758 MB / 0.8311 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/1.111, allocations: 0 / 1.362 GB, free: 7.758 MB / 0.8311 GB Notification: Performance of matching and sorting (n=4): time 0.0002714/1.111, allocations: 165.5 kB / 1.362 GB, free: 7.59 MB / 0.8311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/1.111, allocations: 81.11 kB / 1.362 GB, free: 7.492 MB / 0.8311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/1.111, allocations: 136.9 kB / 1.363 GB, free: 7.352 MB / 0.8311 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/1.111, allocations: 25.7 kB / 1.363 GB, free: 7.32 MB / 0.8311 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/1.111, allocations: 92.17 kB / 1.363 GB, free: 7.227 MB / 0.8311 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/1.111, allocations: 3.906 kB / 1.363 GB, free: 7.223 MB / 0.8311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/1.111, allocations: 0 / 1.363 GB, free: 7.223 MB / 0.8311 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.112, allocations: 326.7 kB / 1.363 GB, free: 6.895 MB / 0.8311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/1.112, allocations: 99.94 kB / 1.363 GB, free: 6.797 MB / 0.8311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/1.112, allocations: 99.94 kB / 1.363 GB, free: 6.699 MB / 0.8311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/1.112, allocations: 111.8 kB / 1.363 GB, free: 6.59 MB / 0.8311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/1.112, allocations: 0 / 1.363 GB, free: 6.59 MB / 0.8311 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003359/1.112, allocations: 261.4 kB / 1.364 GB, free: 6.328 MB / 0.8311 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/1.112, allocations: 8 kB / 1.364 GB, free: 6.32 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/1.112, allocations: 4.062 kB / 1.364 GB, free: 6.316 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-06/1.112, allocations: 0 / 1.364 GB, free: 6.316 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/1.112, allocations: 3.375 kB / 1.364 GB, free: 6.316 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/1.112, allocations: 0 / 1.364 GB, free: 6.316 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.866e-05/1.112, allocations: 11.84 kB / 1.364 GB, free: 6.305 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/1.112, allocations: 15.98 kB / 1.364 GB, free: 6.289 MB / 0.8311 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.014e-05/1.113, allocations: 130.7 kB / 1.364 GB, free: 6.148 MB / 0.8311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/1.113, allocations: 11.84 kB / 1.364 GB, free: 6.137 MB / 0.8311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.389e-05/1.113, allocations: 8.125 kB / 1.364 GB, free: 6.129 MB / 0.8311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/1.113, allocations: 3.984 kB / 1.364 GB, free: 6.125 MB / 0.8311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.113, allocations: 7.906 kB / 1.364 GB, free: 6.117 MB / 0.8311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/1.113, allocations: 0 / 1.364 GB, free: 6.117 MB / 0.8311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.135e-05/1.113, allocations: 146.2 kB / 1.364 GB, free: 5.938 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/1.113, allocations: 0 / 1.364 GB, free: 5.938 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/1.113, allocations: 0 / 1.364 GB, free: 5.938 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/1.113, allocations: 4 kB / 1.364 GB, free: 5.934 MB / 0.8311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/1.113, allocations: 3.984 kB / 1.364 GB, free: 5.93 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/1.113, allocations: 0 / 1.364 GB, free: 5.93 MB / 0.8311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.113, allocations: 0 / 1.364 GB, free: 5.93 MB / 0.8311 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002432/1.113, allocations: 204.8 kB / 1.364 GB, free: 5.711 MB / 0.8311 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003424/1.113, allocations: 0.5716 MB / 1.365 GB, free: 5.117 MB / 0.8311 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/1.113, allocations: 81.02 kB / 1.365 GB, free: 5.02 MB / 0.8311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/1.113, allocations: 4 kB / 1.365 GB, free: 5.016 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/1.114, allocations: 8.062 kB / 1.365 GB, free: 5.008 MB / 0.8311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/1.114, allocations: 7.984 kB / 1.365 GB, free: 5 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/1.114, allocations: 4 kB / 1.365 GB, free: 4.996 MB / 0.8311 GB Notification: Performance of sort global known variables: time 5.668e-05/1.114, allocations: 106.1 kB / 1.365 GB, free: 4.895 MB / 0.8311 GB Notification: Performance of remove unused functions: time 0.0008048/1.114, allocations: 79.86 kB / 1.365 GB, free: 4.816 MB / 0.8311 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.0002541/1.115, allocations: 159.1 kB / 1.365 GB, free: 4.652 MB / 0.8311 GB Notification: Performance of simCode: created initialization part: time 0.0002567/1.115, allocations: 247.3 kB / 1.365 GB, free: 4.398 MB / 0.8311 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/1.115, allocations: 4.062 kB / 1.365 GB, free: 4.395 MB / 0.8311 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/1.115, allocations: 109.7 kB / 1.365 GB, free: 4.281 MB / 0.8311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.874e-05/1.115, allocations: 5.891 kB / 1.365 GB, free: 4.277 MB / 0.8311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/1.115, allocations: 159.4 kB / 1.366 GB, free: 4.098 MB / 0.8311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/1.116, allocations: 0.7032 MB / 1.366 GB, free: 3.371 MB / 0.8311 GB Notification: Performance of SimCode: time 2.5e-07/1.116, allocations: 3.938 kB / 1.366 GB, free: 3.367 MB / 0.8311 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)