Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.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.HeatTransfer.Convection.Validation.ZeroWindSpeed,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Validation_ZeroWindSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Validation_ZeroWindSpeed",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.022/2.022, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001218/0.001218, allocations: 181.2 kB / 490.8 MB, free: 1.902 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.332/1.332, allocations: 221.4 MB / 0.7863 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 92.5 kB / 0.9264 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5553/0.5564, allocations: 149.1 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.8031, allocations: 143 MB / 1.212 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6439/1.447, allocations: 156.2 MB / 1.364 GB, free: 12.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/1.447, allocations: 82.58 kB / 1.364 GB, free: 12.59 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.04593/1.493, allocations: 15.85 MB / 1.38 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.493, allocations: 8 kB / 1.38 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009371/1.494, allocations: 130.8 kB / 1.38 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/1.495, allocations: 348.2 kB / 1.38 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/1.495, allocations: 8 kB / 1.38 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/1.495, allocations: 24 kB / 1.38 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004246/1.495, allocations: 208.7 kB / 1.38 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/1.496, allocations: 233.6 kB / 1.381 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.496, allocations: 4 kB / 1.381 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/1.496, allocations: 0 / 1.381 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/1.496, allocations: 4 kB / 1.381 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/1.498, allocations: 0.8212 MB / 1.381 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/1.498, allocations: 202.4 kB / 1.382 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/1.498, allocations: 91.2 kB / 1.382 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/1.498, allocations: 93.41 kB / 1.382 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.498, allocations: 37.81 kB / 1.382 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/1.498, allocations: 0 / 1.382 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0009415/1.499, allocations: 255.9 kB / 1.382 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/1.499, allocations: 59.34 kB / 1.382 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/1.5, allocations: 201.5 kB / 1.382 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/1.5, allocations: 25.7 kB / 1.382 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.5, allocations: 169.7 kB / 1.383 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.607e-05/1.5, allocations: 83.19 kB / 1.383 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/1.5, allocations: 0 / 1.383 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.5, allocations: 341.3 kB / 1.383 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/1.5, allocations: 69.17 kB / 1.383 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/1.5, allocations: 64.77 kB / 1.383 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/1.501, allocations: 130 kB / 1.383 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.501, allocations: 3.938 kB / 1.383 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008105/1.502, allocations: 285.3 kB / 1.384 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.502, allocations: 7.984 kB / 1.384 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.502, allocations: 4 kB / 1.384 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.502, allocations: 0 / 1.384 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/1.502, allocations: 83.31 kB / 1.384 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/1.502, allocations: 0 / 1.384 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/1.502, allocations: 35.72 kB / 1.384 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/1.502, allocations: 19.61 kB / 1.384 GB, free: 11.75 MB / 0.8386 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 (33): * Single equations (assignments): 33 * 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 0.0001006/1.503, allocations: 104.9 kB / 1.384 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/1.503, allocations: 35.56 kB / 1.384 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008791/1.504, allocations: 332.8 kB / 1.384 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.504, allocations: 4 kB / 1.384 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.504, allocations: 4 kB / 1.384 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.504, allocations: 0 / 1.384 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/1.504, allocations: 298.6 kB / 1.384 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.504, allocations: 0 / 1.384 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/1.504, allocations: 59.94 kB / 1.384 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/1.504, allocations: 3.906 kB / 1.384 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/1.504, allocations: 7.984 kB / 1.384 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.504, allocations: 0 / 1.384 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.504, allocations: 0 / 1.384 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005641/1.505, allocations: 249.3 kB / 1.385 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000689/1.506, allocations: 0.6293 MB / 1.385 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.506, allocations: 130.8 kB / 1.385 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/1.506, allocations: 3.906 kB / 1.385 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/1.506, allocations: 23.97 kB / 1.385 GB, free: 9.984 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/1.506, allocations: 7.984 kB / 1.385 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/1.506, allocations: 7.984 kB / 1.385 GB, free: 9.969 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001394/1.506, allocations: 174.5 kB / 1.386 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009406/1.507, allocations: 111.6 kB / 1.386 GB, free: 9.719 MB / 0.8386 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 (21): * Single equations (assignments): 21 * 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.0002502/1.508, allocations: 139.1 kB / 1.386 GB, free: 9.574 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003161/1.508, allocations: 172.9 kB / 1.386 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.508, allocations: 0 / 1.386 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/1.508, allocations: 84.53 kB / 1.386 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/1.508, allocations: 69.91 kB / 1.386 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/1.509, allocations: 376.2 kB / 1.387 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005164/1.51, allocations: 0.8212 MB / 1.387 GB, free: 8.133 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.51, allocations: 4 kB / 1.387 GB, free: 8.129 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Convection_Validation_ZeroWindSpeed_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Convection_Validation_ZeroWindSpeed.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed_res.mat does not exist to compare? outputFormat=mat