Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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 2.075/2.075, allocations: 390.4 MB / 397.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 178.4 kB / 490.8 MB, free: 11.15 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.483/1.483, allocations: 221.4 MB / 0.7863 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 93.33 kB / 0.9264 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.4234/0.4245, allocations: 149.2 MB / 1.072 GB, free: 15.41 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8438/1.268, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/1.448, allocations: 149.3 MB / 1.357 GB, free: 42.27 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.449, allocations: 99.91 kB / 1.358 GB, free: 42.18 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001684/1.45, allocations: 0.707 MB / 1.358 GB, free: 41.45 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.451, allocations: 8.5 kB / 1.358 GB, free: 41.44 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/1.451, allocations: 0 / 1.358 GB, free: 41.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.028e-05/1.451, allocations: 167.9 kB / 1.358 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/1.451, allocations: 1.625 kB / 1.358 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/1.451, allocations: 1.219 kB / 1.358 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.463e-05/1.451, allocations: 0 / 1.358 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.276e-05/1.451, allocations: 29.61 kB / 1.358 GB, free: 41.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/1.451, allocations: 0.7812 kB / 1.358 GB, free: 41.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/1.451, allocations: 4 kB / 1.358 GB, free: 41.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/1.451, allocations: 5.625 kB / 1.358 GB, free: 41.19 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/1.451, allocations: 356.9 kB / 1.359 GB, free: 40.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/1.451, allocations: 165.8 kB / 1.359 GB, free: 40.63 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/1.451, allocations: 88.89 kB / 1.359 GB, free: 40.54 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/1.451, allocations: 76.06 kB / 1.359 GB, free: 40.47 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/1.451, allocations: 106.9 kB / 1.359 GB, free: 40.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.451, allocations: 0 / 1.359 GB, free: 40.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 6.597e-05/1.451, allocations: 31.52 kB / 1.359 GB, free: 40.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/1.451, allocations: 51.41 kB / 1.359 GB, free: 40.26 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/1.451, allocations: 93 kB / 1.359 GB, free: 40.16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/1.451, allocations: 26.45 kB / 1.359 GB, free: 40.13 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/1.451, allocations: 80.14 kB / 1.36 GB, free: 40.05 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/1.451, allocations: 0.8438 kB / 1.36 GB, free: 40.05 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/1.451, allocations: 0 / 1.36 GB, free: 40.05 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/1.451, allocations: 315.6 kB / 1.36 GB, free: 39.73 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-06/1.451, allocations: 0.9062 kB / 1.36 GB, free: 39.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/1.451, allocations: 4 kB / 1.36 GB, free: 39.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.536e-05/1.452, allocations: 4.906 kB / 1.36 GB, free: 39.72 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.452, allocations: 0 / 1.36 GB, free: 39.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001061/1.452, allocations: 30.2 kB / 1.36 GB, free: 39.69 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.452, allocations: 12.81 kB / 1.36 GB, free: 39.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.452, allocations: 0 / 1.36 GB, free: 39.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/1.452, allocations: 4 kB / 1.36 GB, free: 39.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.395e-05/1.452, allocations: 4.625 kB / 1.36 GB, free: 39.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.452, allocations: 0 / 1.36 GB, free: 39.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322e-05/1.452, allocations: 3.062 kB / 1.36 GB, free: 39.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/1.452, allocations: 0 / 1.36 GB, free: 39.67 MB / 0.8855 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 (1): * Single equations (assignments): 1 * 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.877e-05/1.452, allocations: 193.4 kB / 1.36 GB, free: 39.48 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/1.452, allocations: 101.9 kB / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/1.452, allocations: 107.8 kB / 1.36 GB, free: 39.26 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/1.452, allocations: 181 kB / 1.36 GB, free: 39.08 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.45e-05/1.452, allocations: 181.6 kB / 1.361 GB, free: 38.89 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-05/1.452, allocations: 180.2 kB / 1.361 GB, free: 38.71 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/1.452, allocations: 378.8 kB / 1.361 GB, free: 38.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/1.452, allocations: 105.5 kB / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/1.452, allocations: 106 kB / 1.361 GB, free: 38.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-05/1.452, allocations: 188.9 kB / 1.362 GB, free: 37.89 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/1.452, allocations: 178.2 kB / 1.362 GB, free: 37.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.452e-05/1.452, allocations: 176.3 kB / 1.362 GB, free: 37.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.605e-05/1.452, allocations: 186.5 kB / 1.362 GB, free: 37.34 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.007e-05/1.453, allocations: 305.8 kB / 1.362 GB, free: 37.02 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001582/1.453, allocations: 0.6697 MB / 1.363 GB, free: 36.32 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/1.453, allocations: 186.7 kB / 1.363 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/1.453, allocations: 182.7 kB / 1.363 GB, free: 35.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.183e-05/1.453, allocations: 101.6 kB / 1.363 GB, free: 35.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/1.453, allocations: 180.9 kB / 1.364 GB, free: 35.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/1.453, allocations: 105.8 kB / 1.364 GB, free: 35.53 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.061e-05/1.453, allocations: 80.38 kB / 1.364 GB, free: 35.45 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008701/1.454, allocations: 4.562 kB / 1.364 GB, free: 35.45 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001448/1.454, allocations: 179.5 kB / 1.364 GB, free: 35.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.419e-05/1.454, allocations: 4.812 kB / 1.364 GB, free: 35.26 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.454, allocations: 0 / 1.364 GB, free: 35.26 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/1.454, allocations: 0.6875 kB / 1.364 GB, free: 35.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/1.454, allocations: 0.5205 MB / 1.364 GB, free: 34.74 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001537/1.454, allocations: 124.2 kB / 1.365 GB, free: 34.59 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/1.455, allocations: 0.6841 MB / 1.365 GB, free: 33.88 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/1.455, allocations: 2.188 kB / 1.365 GB, free: 33.88 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat does not exist to compare? outputFormat=mat