Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.773/1.773, allocations: 387.2 MB / 394.5 MB, free: 13.19 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.001118/0.001118, allocations: 185.6 kB / 487 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 6.66 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008403/0.0008403, allocations: 102.2 kB / 0.9213 GB, free: 43.59 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2577/0.2586, allocations: 148.5 MB / 1.066 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5103/0.7689, allocations: 142.3 MB / 1.205 GB, free: 72.76 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.9187, allocations: 150.6 MB / 1.352 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.9189, allocations: 71.95 kB / 1.352 GB, free: 12.55 MB / 0.8542 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.9623/1.881, allocations: 249.1 MB / 1.596 GB, free: 182 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/1.881, allocations: 7.812 kB / 1.596 GB, free: 182 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/1.881, allocations: 36.5 kB / 1.596 GB, free: 182 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/1.882, allocations: 379.4 kB / 1.596 GB, free: 181.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/1.882, allocations: 1.5 kB / 1.596 GB, free: 181.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/1.882, allocations: 11.8 kB / 1.596 GB, free: 181.7 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.711e-05/1.882, allocations: 72.8 kB / 1.596 GB, free: 181.7 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.275e-05/1.882, allocations: 98.33 kB / 1.596 GB, free: 181.6 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/1.882, allocations: 0 / 1.596 GB, free: 181.6 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/1.882, allocations: 0 / 1.596 GB, free: 181.6 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/1.882, allocations: 0 / 1.596 GB, free: 181.6 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/1.882, allocations: 314.7 kB / 1.597 GB, free: 181.4 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/1.882, allocations: 109 kB / 1.597 GB, free: 181.3 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/1.882, allocations: 57.53 kB / 1.597 GB, free: 181.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/1.882, allocations: 14.03 kB / 1.597 GB, free: 181.2 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/1.882, allocations: 38.38 kB / 1.597 GB, free: 181.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/1.882, allocations: 0 / 1.597 GB, free: 181.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=4): time 0.0002028/1.883, allocations: 147.5 kB / 1.597 GB, free: 181.1 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/1.883, allocations: 132.6 kB / 1.597 GB, free: 180.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/1.883, allocations: 426.9 kB / 1.597 GB, free: 180.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/1.883, allocations: 27.86 kB / 1.597 GB, free: 180.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/1.883, allocations: 110 kB / 1.598 GB, free: 180.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/1.883, allocations: 15.34 kB / 1.598 GB, free: 180.6 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/1.883, allocations: 3.938 kB / 1.598 GB, free: 180.6 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/1.883, allocations: 344.3 kB / 1.598 GB, free: 180.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/1.883, allocations: 38.16 kB / 1.598 GB, free: 180.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/1.883, allocations: 100.2 kB / 1.598 GB, free: 180.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/1.883, allocations: 38.5 kB / 1.598 GB, free: 180.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.883, allocations: 0 / 1.598 GB, free: 180.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001562/1.884, allocations: 153.9 kB / 1.598 GB, free: 180.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/1.884, allocations: 3.906 kB / 1.598 GB, free: 180.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/1.884, allocations: 0 / 1.598 GB, free: 180.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.884, allocations: 3.906 kB / 1.598 GB, free: 180.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/1.884, allocations: 15.83 kB / 1.598 GB, free: 180.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/1.884, allocations: 0 / 1.598 GB, free: 180.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/1.884, allocations: 11.8 kB / 1.598 GB, free: 180.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/1.884, allocations: 3.906 kB / 1.598 GB, free: 180.1 MB / 1.01 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 3.994e-05/1.884, allocations: 109 kB / 1.598 GB, free: 180 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/1.884, allocations: 31.25 kB / 1.598 GB, free: 180 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/1.884, allocations: 185.2 kB / 1.599 GB, free: 179.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.884, allocations: 3.906 kB / 1.599 GB, free: 179.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.884, allocations: 4.547 kB / 1.599 GB, free: 179.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.884, allocations: 0 / 1.599 GB, free: 179.9 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/1.884, allocations: 276.3 kB / 1.599 GB, free: 179.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.884, allocations: 0 / 1.599 GB, free: 179.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/1.884, allocations: 20.36 kB / 1.599 GB, free: 179.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.884, allocations: 3.906 kB / 1.599 GB, free: 179.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/1.885, allocations: 0 / 1.599 GB, free: 179.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.885, allocations: 0 / 1.599 GB, free: 179.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.885, allocations: 3.906 kB / 1.599 GB, free: 179.7 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001715/1.885, allocations: 227.3 kB / 1.599 GB, free: 179.5 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002273/1.885, allocations: 0.6028 MB / 1.6 GB, free: 179 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.924e-05/1.885, allocations: 127.7 kB / 1.6 GB, free: 178.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/1.885, allocations: 0 / 1.6 GB, free: 178.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/1.885, allocations: 9.703 kB / 1.6 GB, free: 178.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/1.885, allocations: 11.22 kB / 1.6 GB, free: 178.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/1.885, allocations: 5.219 kB / 1.6 GB, free: 178.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0002646/1.886, allocations: 353 kB / 1.6 GB, free: 178.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008366/1.886, allocations: 42.97 kB / 1.6 GB, free: 178.7 MB / 1.01 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.0001526/1.887, allocations: 133.3 kB / 1.6 GB, free: 178.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001496/1.887, allocations: 85.14 kB / 1.6 GB, free: 178.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.887, allocations: 0 / 1.6 GB, free: 178.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.747e-05/1.887, allocations: 41.64 kB / 1.6 GB, free: 178.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/1.887, allocations: 59.28 kB / 1.6 GB, free: 178.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007282/1.888, allocations: 437.9 kB / 1.601 GB, free: 178.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/1.888, allocations: 0.8507 MB / 1.602 GB, free: 177.6 MB / 1.01 GB Notification: Performance of SimCode: time 2.5e-07/1.888, allocations: 0 / 1.602 GB, free: 177.6 MB / 1.01 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat does not exist to compare? outputFormat=mat