Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.84/1.84, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 180.4 kB / 487 MB, free: 5.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 221.3 MB / 0.7819 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008871/0.0008871, allocations: 93.83 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4338/0.4348, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.6168, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4997/1.117, allocations: 150.5 MB / 1.352 GB, free: 16.12 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/1.117, allocations: 74.59 kB / 1.352 GB, free: 16.12 MB / 0.8073 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.5785/1.695, allocations: 245.4 MB / 1.592 GB, free: 2.004 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/1.695, allocations: 12 kB / 1.592 GB, free: 1.992 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/1.695, allocations: 39.52 kB / 1.592 GB, free: 1.953 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/1.696, allocations: 377.9 kB / 1.592 GB, free: 1.59 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/1.696, allocations: 0 / 1.592 GB, free: 1.59 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/1.696, allocations: 4 kB / 1.592 GB, free: 1.586 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.741e-05/1.696, allocations: 66.12 kB / 1.592 GB, free: 1.531 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/1.696, allocations: 107.2 kB / 1.593 GB, free: 1.418 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/1.696, allocations: 0 / 1.593 GB, free: 1.418 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/1.696, allocations: 1.203 kB / 1.593 GB, free: 1.418 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/1.696, allocations: 0 / 1.593 GB, free: 1.418 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/1.697, allocations: 318.3 kB / 1.593 GB, free: 1.109 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 9.661e-05/1.697, allocations: 101.3 kB / 1.593 GB, free: 0.9805 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.641e-05/1.697, allocations: 66.2 kB / 1.593 GB, free: 0.9141 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/1.697, allocations: 7.938 kB / 1.593 GB, free: 0.9062 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/1.697, allocations: 38.5 kB / 1.593 GB, free: 0.8594 MB / 1.026 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.697, allocations: 0 / 1.593 GB, free: 0.8594 MB / 1.026 GB Notification: Performance of matching and sorting (n=4): time 0.000247/1.697, allocations: 149.8 kB / 1.593 GB, free: 0.7227 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.697, allocations: 132.6 kB / 1.593 GB, free: 0.5625 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/1.698, allocations: 428.2 kB / 1.594 GB, free: 224 kB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/1.698, allocations: 25.7 kB / 1.594 GB, free: 192 kB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/1.698, allocations: 118.8 kB / 1.594 GB, free: 84 kB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/1.698, allocations: 7.812 kB / 1.594 GB, free: 76 kB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/1.698, allocations: 0 / 1.594 GB, free: 76 kB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.698, allocations: 349.4 kB / 1.594 GB, free: 15.74 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.768e-05/1.698, allocations: 38.7 kB / 1.594 GB, free: 15.71 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.319e-05/1.698, allocations: 92.36 kB / 1.594 GB, free: 15.6 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.534e-05/1.698, allocations: 46.95 kB / 1.594 GB, free: 15.57 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.698, allocations: 0 / 1.594 GB, free: 15.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001855/1.698, allocations: 148.7 kB / 1.595 GB, free: 15.43 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.698, allocations: 8 kB / 1.595 GB, free: 15.42 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.698, allocations: 0 / 1.595 GB, free: 15.42 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/1.698, allocations: 0 / 1.595 GB, free: 15.42 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/1.698, allocations: 15.92 kB / 1.595 GB, free: 15.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.698, allocations: 4 kB / 1.595 GB, free: 15.4 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/1.699, allocations: 4 kB / 1.595 GB, free: 15.4 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/1.699, allocations: 0 / 1.595 GB, free: 15.4 MB / 1.042 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 6.43e-05/1.699, allocations: 109 kB / 1.595 GB, free: 15.29 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/1.699, allocations: 35.61 kB / 1.595 GB, free: 15.25 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/1.699, allocations: 189.7 kB / 1.595 GB, free: 15.09 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.699, allocations: 4 kB / 1.595 GB, free: 15.08 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/1.699, allocations: 0 / 1.595 GB, free: 15.08 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.699, allocations: 4 kB / 1.595 GB, free: 15.08 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/1.699, allocations: 279 kB / 1.595 GB, free: 14.81 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.699, allocations: 4 kB / 1.595 GB, free: 14.81 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/1.699, allocations: 12 kB / 1.595 GB, free: 14.8 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.699, allocations: 0 / 1.595 GB, free: 14.8 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.699, allocations: 7.984 kB / 1.595 GB, free: 14.79 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.699, allocations: 0 / 1.595 GB, free: 14.79 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.699, allocations: 4 kB / 1.595 GB, free: 14.79 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002216/1.7, allocations: 236.9 kB / 1.595 GB, free: 14.53 MB / 1.042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003132/1.7, allocations: 0.5975 MB / 1.596 GB, free: 13.91 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/1.7, allocations: 131.7 kB / 1.596 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/1.7, allocations: 0 / 1.596 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/1.7, allocations: 4 kB / 1.596 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/1.7, allocations: 19.86 kB / 1.596 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/1.7, allocations: 7.5 kB / 1.596 GB, free: 13.74 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.0003054/1.701, allocations: 349 kB / 1.596 GB, free: 13.48 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0007867/1.701, allocations: 42.5 kB / 1.596 GB, free: 13.44 MB / 1.042 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.0001348/1.702, allocations: 130.6 kB / 1.597 GB, free: 13.3 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001837/1.702, allocations: 81.56 kB / 1.597 GB, free: 13.24 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.702, allocations: 4 kB / 1.597 GB, free: 13.23 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.553e-05/1.702, allocations: 45.84 kB / 1.597 GB, free: 13.2 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/1.702, allocations: 62.41 kB / 1.597 GB, free: 13.16 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007768/1.703, allocations: 435.1 kB / 1.597 GB, free: 12.73 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/1.703, allocations: 0.8456 MB / 1.598 GB, free: 11.88 MB / 1.042 GB Notification: Performance of SimCode: time 2.4e-07/1.703, allocations: 4 kB / 1.598 GB, free: 11.87 MB / 1.042 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat does not exist to compare? outputFormat=mat