Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.25 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.001169/0.001169, allocations: 184.2 kB / 487 MB, free: 0.7031 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.35/1.35, allocations: 221.3 MB / 0.7819 GB, free: 6.746 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.001033/0.001033, allocations: 93.47 kB / 0.9213 GB, free: 43.66 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3302/0.3313, allocations: 148.5 MB / 1.066 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8228/1.154, allocations: 142.3 MB / 1.205 GB, free: 72.77 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/1.35, allocations: 152.2 MB / 1.354 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/1.35, allocations: 89 kB / 1.354 GB, free: 10.91 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.009559/1.36, allocations: 3.326 MB / 1.357 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.36, allocations: 16 kB / 1.357 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/1.36, allocations: 12.81 kB / 1.357 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/1.36, allocations: 214.2 kB / 1.357 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/1.36, allocations: 0 / 1.357 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/1.36, allocations: 8 kB / 1.357 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001183/1.36, allocations: 39.91 kB / 1.358 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/1.36, allocations: 65.67 kB / 1.358 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.36, allocations: 7.938 kB / 1.358 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/1.361, allocations: 4 kB / 1.358 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.361, allocations: 3.938 kB / 1.358 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/1.361, allocations: 353 kB / 1.358 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/1.361, allocations: 44.25 kB / 1.358 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/1.361, allocations: 12.92 kB / 1.358 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/1.361, allocations: 4 kB / 1.358 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/1.361, allocations: 31.72 kB / 1.358 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.361, allocations: 4 kB / 1.358 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0002164/1.362, allocations: 65.59 kB / 1.358 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.362, allocations: 51.41 kB / 1.358 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/1.362, allocations: 119.7 kB / 1.358 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/1.362, allocations: 25.7 kB / 1.358 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/1.362, allocations: 107.9 kB / 1.358 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/1.362, allocations: 7.906 kB / 1.358 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/1.362, allocations: 0 / 1.358 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.362, allocations: 322.8 kB / 1.359 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/1.362, allocations: 4 kB / 1.359 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/1.362, allocations: 12 kB / 1.359 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.254e-05/1.362, allocations: 11.98 kB / 1.359 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.362, allocations: 0 / 1.359 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/1.362, allocations: 65.58 kB / 1.359 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/1.362, allocations: 100.9 kB / 1.359 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/1.362, allocations: 0 / 1.359 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/1.362, allocations: 4 kB / 1.359 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/1.362, allocations: 19.92 kB / 1.359 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/1.362, allocations: 0 / 1.359 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/1.362, allocations: 8 kB / 1.359 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/1.363, allocations: 0 / 1.359 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/1.363, allocations: 8 kB / 1.359 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.391e-05/1.363, allocations: 28.47 kB / 1.359 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/1.363, allocations: 4 kB / 1.359 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-06/1.363, allocations: 0 / 1.359 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/1.363, allocations: 15.98 kB / 1.359 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/1.363, allocations: 1.25 kB / 1.359 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/1.363, allocations: 15.84 kB / 1.359 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/1.363, allocations: 4 kB / 1.359 GB, free: 5.641 MB / 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 (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 7.716e-05/1.363, allocations: 105 kB / 1.359 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/1.363, allocations: 11.84 kB / 1.359 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/1.363, allocations: 57.75 kB / 1.359 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.363, allocations: 0 / 1.359 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.363, allocations: 0 / 1.359 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.363, allocations: 0 / 1.359 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/1.363, allocations: 174.1 kB / 1.359 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.363, allocations: 0 / 1.359 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/1.363, allocations: 13.05 kB / 1.359 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.363, allocations: 0 / 1.359 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/1.363, allocations: 4 kB / 1.359 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.363, allocations: 0 / 1.359 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.363, allocations: 0 / 1.359 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001227/1.363, allocations: 151.3 kB / 1.359 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002504/1.364, allocations: 0.5155 MB / 1.36 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/1.364, allocations: 89.38 kB / 1.36 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/1.364, allocations: 3.125 kB / 1.36 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/1.364, allocations: 12 kB / 1.36 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/1.364, allocations: 3.984 kB / 1.36 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/1.364, allocations: 7.984 kB / 1.36 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.753e-05/1.364, allocations: 96.22 kB / 1.36 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001487/1.366, allocations: 47.73 kB / 1.36 GB, free: 4.266 MB / 0.8542 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): 3 * 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.0001739/1.366, allocations: 103.2 kB / 1.36 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001188/1.366, allocations: 43.7 kB / 1.36 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.366, allocations: 4 kB / 1.36 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.231e-05/1.366, allocations: 12 kB / 1.36 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/1.366, allocations: 8 kB / 1.36 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/1.366, allocations: 118 kB / 1.361 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/1.367, allocations: 0.7071 MB / 1.361 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/1.367, allocations: 4 kB / 1.361 GB, free: 3.219 MB / 0.8542 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat does not exist to compare? outputFormat=mat