Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",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.013/2.013, allocations: 390.4 MB / 397.7 MB, free: 10.71 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.001255/0.001255, allocations: 185.2 kB / 490.8 MB, free: 13.27 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.434/1.434, allocations: 221.4 MB / 0.7863 GB, free: 2.672 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.001077/0.001077, allocations: 95.12 kB / 0.9264 GB, free: 39.98 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3014/0.3025, allocations: 149.1 MB / 1.072 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6659/0.9684, allocations: 143 MB / 1.212 GB, free: 63.46 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/1.157, allocations: 150.4 MB / 1.359 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/1.158, allocations: 83.95 kB / 1.359 GB, free: 6.406 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.009123/1.167, allocations: 2.848 MB / 1.361 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/1.167, allocations: 12 kB / 1.361 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/1.167, allocations: 11.81 kB / 1.361 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/1.167, allocations: 203.7 kB / 1.362 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/1.167, allocations: 3.984 kB / 1.362 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/1.167, allocations: 4 kB / 1.362 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001099/1.167, allocations: 32 kB / 1.362 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/1.168, allocations: 61.62 kB / 1.362 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.168, allocations: 0 / 1.362 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/1.168, allocations: 0 / 1.362 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/1.168, allocations: 7.938 kB / 1.362 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/1.168, allocations: 455.8 kB / 1.362 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/1.169, allocations: 143.7 kB / 1.362 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/1.169, allocations: 32.94 kB / 1.362 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/1.169, allocations: 0 / 1.362 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/1.169, allocations: 30.56 kB / 1.362 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/1.169, allocations: 0 / 1.362 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0003307/1.169, allocations: 78.44 kB / 1.362 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/1.169, allocations: 51.41 kB / 1.362 GB, free: 2.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/1.169, allocations: 132.8 kB / 1.363 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/1.169, allocations: 25.7 kB / 1.363 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/1.169, allocations: 111.8 kB / 1.363 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/1.169, allocations: 11.81 kB / 1.363 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/1.169, allocations: 0 / 1.363 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.17, allocations: 322.8 kB / 1.363 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/1.17, allocations: 8 kB / 1.363 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/1.17, allocations: 34.58 kB / 1.363 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/1.17, allocations: 15.98 kB / 1.363 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.17, allocations: 4.031 kB / 1.363 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002288/1.17, allocations: 86.34 kB / 1.363 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.17, allocations: 4 kB / 1.363 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.17, allocations: 4 kB / 1.363 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/1.17, allocations: 24.78 kB / 1.363 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.673e-05/1.17, allocations: 7.938 kB / 1.363 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/1.172, allocations: 1.256 MB / 1.364 GB, free: 36 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/1.172, allocations: 8.141 kB / 1.364 GB, free: 28 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/1.172, allocations: 4 kB / 1.364 GB, free: 24 kB / 0.8542 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 (5): * 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: 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 8.297e-05/1.172, allocations: 101 kB / 1.365 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/1.172, allocations: 11.94 kB / 1.365 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/1.172, allocations: 16.03 kB / 1.365 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.172, allocations: 0 / 1.365 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.172, allocations: 0 / 1.365 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/1.172, allocations: 0 / 1.365 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/1.172, allocations: 335.8 kB / 1.365 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.172, allocations: 0 / 1.365 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/1.172, allocations: 0 / 1.365 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.372e-05/1.172, allocations: 28.78 kB / 1.365 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/1.172, allocations: 0 / 1.365 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/1.173, allocations: 1.245 MB / 1.366 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.173, allocations: 160 / 1.366 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002077/1.174, allocations: 184.2 kB / 1.366 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003066/1.174, allocations: 0.5397 MB / 1.367 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/1.174, allocations: 85 kB / 1.367 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/1.174, allocations: 12 kB / 1.367 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/1.174, allocations: 0 / 1.367 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/1.174, allocations: 0 / 1.367 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/1.174, allocations: 3.906 kB / 1.367 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.437e-05/1.174, allocations: 114.7 kB / 1.367 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008092/1.175, allocations: 27.94 kB / 1.367 GB, free: 13.11 MB / 0.8698 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 (3): * Single equations (assignments): 2 * 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.0001149/1.175, allocations: 99.33 kB / 1.367 GB, free: 13 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000321/1.176, allocations: 153.7 kB / 1.367 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.176, allocations: 0 / 1.367 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/1.176, allocations: 113.8 kB / 1.367 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/1.176, allocations: 26.42 kB / 1.367 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/1.176, allocations: 108 kB / 1.368 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/1.177, allocations: 0.7071 MB / 1.368 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of SimCode: time 3.6e-07/1.177, allocations: 0 / 1.368 GB, free: 11.82 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat does not exist to compare? outputFormat=mat