Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",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.1.4-maint.8.1.x/package.mo): time 1.387/1.387, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.0009525/0.0009525, allocations: 177.2 kB / 366.3 MB, free: 1.957 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.092/1.092, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0008347/0.0008347, allocations: 93.23 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2077/0.2086, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.7033, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.8566, allocations: 140.2 MB / 1.11 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.8568, allocations: 75.89 kB / 1.11 GB, free: 8.199 MB / 0.7136 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.8953/1.752, allocations: 245.2 MB / 1.349 GB, free: 136 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/1.752, allocations: 8 kB / 1.349 GB, free: 136 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/1.752, allocations: 35.53 kB / 1.349 GB, free: 136 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/1.753, allocations: 377 kB / 1.349 GB, free: 135.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/1.753, allocations: 8 kB / 1.349 GB, free: 135.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/1.753, allocations: 0 / 1.349 GB, free: 135.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.123e-05/1.753, allocations: 63.94 kB / 1.349 GB, free: 135.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.991e-05/1.753, allocations: 109.4 kB / 1.35 GB, free: 135.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/1.753, allocations: 0 / 1.35 GB, free: 135.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/1.753, allocations: 0 / 1.35 GB, free: 135.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.753, allocations: 4 kB / 1.35 GB, free: 135.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/1.753, allocations: 316.7 kB / 1.35 GB, free: 135 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.745e-05/1.753, allocations: 110.4 kB / 1.35 GB, free: 134.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/1.753, allocations: 68.02 kB / 1.35 GB, free: 134.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/1.753, allocations: 0 / 1.35 GB, free: 134.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/1.753, allocations: 34.5 kB / 1.35 GB, free: 134.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/1.753, allocations: 0 / 1.35 GB, free: 134.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002202/1.754, allocations: 153.1 kB / 1.35 GB, free: 134.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/1.754, allocations: 132.6 kB / 1.35 GB, free: 134.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/1.754, allocations: 425.6 kB / 1.351 GB, free: 134 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/1.754, allocations: 25.7 kB / 1.351 GB, free: 134 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/1.754, allocations: 112.1 kB / 1.351 GB, free: 133.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/1.754, allocations: 15.81 kB / 1.351 GB, free: 133.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/1.754, allocations: 0 / 1.351 GB, free: 133.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.367e-05/1.754, allocations: 342.8 kB / 1.351 GB, free: 133.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/1.754, allocations: 39.97 kB / 1.351 GB, free: 133.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/1.754, allocations: 98.44 kB / 1.351 GB, free: 133.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/1.754, allocations: 43.95 kB / 1.351 GB, free: 133.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.754, allocations: 9.875 kB / 1.351 GB, free: 133.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001534/1.754, allocations: 145.2 kB / 1.352 GB, free: 133.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/1.754, allocations: 4 kB / 1.352 GB, free: 133.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.754, allocations: 4 kB / 1.352 GB, free: 133.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/1.755, allocations: 0 / 1.352 GB, free: 133.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/1.755, allocations: 11.98 kB / 1.352 GB, free: 133.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/1.755, allocations: 3.938 kB / 1.352 GB, free: 133.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/1.755, allocations: 4 kB / 1.352 GB, free: 133.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/1.755, allocations: 8.109 kB / 1.352 GB, free: 133.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.476e-05/1.755, allocations: 108.9 kB / 1.352 GB, free: 133 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/1.755, allocations: 31.62 kB / 1.352 GB, free: 133 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/1.755, allocations: 183.6 kB / 1.352 GB, free: 132.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.755, allocations: 0 / 1.352 GB, free: 132.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.755, allocations: 12.12 kB / 1.352 GB, free: 132.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.755, allocations: 3.938 kB / 1.352 GB, free: 132.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/1.755, allocations: 270 kB / 1.352 GB, free: 132.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.755, allocations: 3.938 kB / 1.352 GB, free: 132.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/1.755, allocations: 19.98 kB / 1.352 GB, free: 132.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/1.755, allocations: 4 kB / 1.352 GB, free: 132.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/1.755, allocations: 0 / 1.352 GB, free: 132.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.755, allocations: 1.031 kB / 1.352 GB, free: 132.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.755, allocations: 4 kB / 1.352 GB, free: 132.4 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001652/1.756, allocations: 227.9 kB / 1.352 GB, free: 132.2 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002075/1.756, allocations: 0.5972 MB / 1.353 GB, free: 131.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/1.756, allocations: 140.6 kB / 1.353 GB, free: 131.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/1.756, allocations: 0 / 1.353 GB, free: 131.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/1.756, allocations: 8 kB / 1.353 GB, free: 131.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/1.756, allocations: 3.984 kB / 1.353 GB, free: 131.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/1.756, allocations: 4 kB / 1.353 GB, free: 131.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002508/1.756, allocations: 351.1 kB / 1.353 GB, free: 131 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007745/1.757, allocations: 44 kB / 1.354 GB, free: 131 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.0001319/1.757, allocations: 124 kB / 1.354 GB, free: 130.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001308/1.757, allocations: 87.78 kB / 1.354 GB, free: 130.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.758, allocations: 0 / 1.354 GB, free: 130.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.691e-05/1.758, allocations: 43.97 kB / 1.354 GB, free: 130.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/1.758, allocations: 66.91 kB / 1.354 GB, free: 130.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/1.758, allocations: 438.2 kB / 1.354 GB, free: 130.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/1.759, allocations: 0.845 MB / 1.355 GB, free: 129.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/1.759, allocations: 0 / 1.355 GB, free: 129.3 MB / 0.823 GB (rm -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1)