Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.995/1.995, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001246/0.001246, allocations: 183.8 kB / 487 MB, free: 5.379 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.34/1.34, allocations: 221.3 MB / 0.7819 GB, free: 1.359 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.0009798/0.0009798, allocations: 97.83 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5459/0.5469, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.797, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7342/1.531, allocations: 156.5 MB / 1.358 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.532, allocations: 102 kB / 1.358 GB, free: 15.86 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0517/1.583, allocations: 16.8 MB / 1.375 GB, free: 3.461 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/1.583, allocations: 16.92 kB / 1.375 GB, free: 3.445 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/1.583, allocations: 43.53 kB / 1.375 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/1.584, allocations: 363.7 kB / 1.375 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/1.584, allocations: 4 kB / 1.375 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/1.584, allocations: 27.91 kB / 1.375 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000244/1.584, allocations: 162.8 kB / 1.375 GB, free: 2.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/1.585, allocations: 188.3 kB / 1.375 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/1.585, allocations: 0 / 1.375 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/1.585, allocations: 8 kB / 1.375 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/1.585, allocations: 0 / 1.375 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/1.586, allocations: 0.9559 MB / 1.376 GB, free: 1.957 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/1.586, allocations: 293.8 kB / 1.377 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/1.586, allocations: 136 kB / 1.377 GB, free: 1.637 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/1.586, allocations: 4 kB / 1.377 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/1.586, allocations: 35.28 kB / 1.377 GB, free: 1.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/1.586, allocations: 4 kB / 1.377 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.0005573/1.587, allocations: 334.9 kB / 1.377 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.65e-05/1.587, allocations: 55.41 kB / 1.377 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/1.587, allocations: 326.1 kB / 1.378 GB, free: 0.9883 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/1.587, allocations: 29.7 kB / 1.378 GB, free: 0.9531 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/1.587, allocations: 139.1 kB / 1.378 GB, free: 0.832 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/1.587, allocations: 92.97 kB / 1.378 GB, free: 0.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/1.587, allocations: 0 / 1.378 GB, free: 0.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/1.587, allocations: 355.7 kB / 1.378 GB, free: 420 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/1.588, allocations: 334.2 kB / 1.378 GB, free: 196 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/1.588, allocations: 394.1 kB / 1.379 GB, free: 15.92 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/1.589, allocations: 380.7 kB / 1.379 GB, free: 15.66 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.589, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001351/1.59, allocations: 0.8672 MB / 1.38 GB, free: 15.01 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.59, allocations: 4 kB / 1.38 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.59, allocations: 0 / 1.38 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/1.59, allocations: 31.66 kB / 1.38 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009521/1.591, allocations: 143.1 kB / 1.38 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/1.593, allocations: 1.289 MB / 1.381 GB, free: 13.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.594, allocations: 87.39 kB / 1.382 GB, free: 13.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/1.594, allocations: 26.3 kB / 1.382 GB, free: 13.38 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (76): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001351/1.594, allocations: 112.8 kB / 1.382 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/1.594, allocations: 35.53 kB / 1.382 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.998e-05/1.595, allocations: 38.59 kB / 1.382 GB, free: 13.21 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.595, allocations: 8 kB / 1.382 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.595, allocations: 0 / 1.382 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.595, allocations: 0 / 1.382 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/1.595, allocations: 482.6 kB / 1.382 GB, free: 12.78 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.595, allocations: 0 / 1.382 GB, free: 12.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/1.595, allocations: 51.41 kB / 1.382 GB, free: 12.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.952e-05/1.595, allocations: 24.03 kB / 1.382 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/1.595, allocations: 8 kB / 1.382 GB, free: 12.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009189/1.596, allocations: 1.279 MB / 1.384 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.596, allocations: 4.031 kB / 1.384 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006822/1.597, allocations: 0.5722 MB / 1.384 GB, free: 10.87 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001043/1.598, allocations: 1.129 MB / 1.385 GB, free: 9.887 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/1.598, allocations: 115.7 kB / 1.385 GB, free: 9.762 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/1.598, allocations: 11.48 kB / 1.385 GB, free: 9.754 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/1.599, allocations: 27.81 kB / 1.385 GB, free: 9.727 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/1.599, allocations: 11.92 kB / 1.385 GB, free: 9.715 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/1.599, allocations: 11.94 kB / 1.385 GB, free: 9.707 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002433/1.599, allocations: 237.2 kB / 1.386 GB, free: 9.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001393/1.601, allocations: 266.2 kB / 1.386 GB, free: 9.266 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00039/1.601, allocations: 250.3 kB / 1.386 GB, free: 9.035 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001044/1.602, allocations: 0.6956 MB / 1.387 GB, free: 8.496 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.602, allocations: 0 / 1.387 GB, free: 8.496 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002602/1.603, allocations: 244.2 kB / 1.387 GB, free: 8.285 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/1.603, allocations: 74.11 kB / 1.387 GB, free: 8.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/1.605, allocations: 1.193 MB / 1.388 GB, free: 7.09 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006647/1.605, allocations: 0.8821 MB / 1.389 GB, free: 6.191 MB / 0.823 GB Notification: Performance of SimCode: time 3.7e-07/1.605, allocations: 0 / 1.389 GB, free: 6.191 MB / 0.823 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat does not exist to compare? outputFormat=mat