Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.39/1.39, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 173.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.1 MB / 0.6195 GB, free: 10.37 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008268/0.0008268, allocations: 96.23 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2152/0.2161, allocations: 121.5 MB / 0.8512 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.7676, allocations: 115.3 MB / 0.9638 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.9317, allocations: 138 MB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.932, allocations: 83.95 kB / 1.099 GB, free: 1.844 MB / 0.698 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.009708/0.9417, allocations: 3.308 MB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.9418, allocations: 9 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.9418, allocations: 8.438 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.942, allocations: 171 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.942, allocations: 4.594 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.942, allocations: 4 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/0.9422, allocations: 63.97 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.9423, allocations: 99.47 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.9423, allocations: 3.938 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.9423, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9423, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.9425, allocations: 162.1 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.9426, allocations: 79.09 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.9428, allocations: 72.86 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.9428, allocations: 0 / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.9428, allocations: 34.56 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.9428, allocations: 0.5625 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0003199/0.9431, allocations: 161.5 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.9432, allocations: 89.03 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.9433, allocations: 130.5 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.9433, allocations: 29.7 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.9434, allocations: 92.16 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.9434, allocations: 11.81 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.9434, allocations: 0 / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.9435, allocations: 322.8 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.9436, allocations: 99.94 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.9438, allocations: 99.94 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.944, allocations: 105 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.944, allocations: 0 / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003573/0.9443, allocations: 265.4 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9444, allocations: 12.06 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9444, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.9444, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-06/0.9444, allocations: 0.5156 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.9444, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.9445, allocations: 11.84 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.9445, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 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 0.0001105/0.9447, allocations: 146.6 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.9447, allocations: 7.906 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.9447, allocations: 8.125 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.9447, allocations: 4.469 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.9447, allocations: 2 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.9447, allocations: 0 / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.9449, allocations: 150.2 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9449, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.9449, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.9449, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.9449, allocations: 4 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.9449, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.9449, allocations: 7.906 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002615/0.9452, allocations: 201.5 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003423/0.9455, allocations: 0.5645 MB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.9456, allocations: 89 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.9456, allocations: 0 / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.9457, allocations: 10.94 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.9457, allocations: 7.984 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.9458, allocations: 7.906 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.229e-05/0.9458, allocations: 105.3 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008428/0.9467, allocations: 67.94 kB / 1.105 GB, free: 10.83 MB / 0.7136 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.0003193/0.947, allocations: 166.9 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.9473, allocations: 251.3 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9473, allocations: 0 / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.9474, allocations: 105.7 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.9475, allocations: 12.2 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.9479, allocations: 157.3 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.9482, allocations: 0.7065 MB / 1.107 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.9482, allocations: 0 / 1.107 GB, free: 9.383 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)