Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",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.067/2.067, allocations: 390.4 MB / 397.7 MB, free: 1.945 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 186.9 kB / 490.8 MB, free: 7.535 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.3 MB / 0.7863 GB, free: 284 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 92.67 kB / 0.9264 GB, free: 0.6602 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.5675/0.5686, allocations: 149.1 MB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.8195, allocations: 143 MB / 1.212 GB, free: 10.52 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7161/1.536, allocations: 159.2 MB / 1.367 GB, free: 2.781 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/1.536, allocations: 79.95 kB / 1.367 GB, free: 2.703 MB / 0.8311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.06274/1.599, allocations: 23.5 MB / 1.39 GB, free: 11.03 MB / 0.8623 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.599, allocations: 8 kB / 1.39 GB, free: 11.02 MB / 0.8623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000874/1.6, allocations: 218.5 kB / 1.39 GB, free: 10.81 MB / 0.8623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008946/1.601, allocations: 0.5077 MB / 1.391 GB, free: 10.25 MB / 0.8623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/1.601, allocations: 19.94 kB / 1.391 GB, free: 10.23 MB / 0.8623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/1.601, allocations: 24 kB / 1.391 GB, free: 10.21 MB / 0.8623 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005442/1.601, allocations: 286 kB / 1.391 GB, free: 9.934 MB / 0.8623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006118/1.602, allocations: 360.2 kB / 1.392 GB, free: 9.57 MB / 0.8623 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.602, allocations: 0 / 1.392 GB, free: 9.57 MB / 0.8623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/1.602, allocations: 0 / 1.392 GB, free: 9.57 MB / 0.8623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/1.602, allocations: 12 kB / 1.392 GB, free: 9.559 MB / 0.8623 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/1.604, allocations: 1.38 MB / 1.393 GB, free: 8.121 MB / 0.8623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/1.605, allocations: 241 kB / 1.393 GB, free: 7.879 MB / 0.8623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/1.605, allocations: 117.3 kB / 1.393 GB, free: 7.762 MB / 0.8623 GB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/1.605, allocations: 4.234 kB / 1.393 GB, free: 7.758 MB / 0.8623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/1.605, allocations: 30.8 kB / 1.393 GB, free: 7.719 MB / 0.8623 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/1.605, allocations: 0 / 1.393 GB, free: 7.719 MB / 0.8623 GB Notification: Performance of matching and sorting (n=28): time 0.0008474/1.606, allocations: 360.2 kB / 1.394 GB, free: 7.359 MB / 0.8623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/1.606, allocations: 81.11 kB / 1.394 GB, free: 7.262 MB / 0.8623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/1.607, allocations: 0.6492 MB / 1.394 GB, free: 6.609 MB / 0.8623 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/1.607, allocations: 29.7 kB / 1.394 GB, free: 6.574 MB / 0.8623 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/1.607, allocations: 275.8 kB / 1.395 GB, free: 6.301 MB / 0.8623 GB Notification: Performance of collectInitialBindings (initialization): time 6.886e-05/1.607, allocations: 86.66 kB / 1.395 GB, free: 6.215 MB / 0.8623 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/1.607, allocations: 0 / 1.395 GB, free: 6.215 MB / 0.8623 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.607, allocations: 322 kB / 1.395 GB, free: 5.895 MB / 0.8623 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/1.608, allocations: 84.56 kB / 1.395 GB, free: 5.809 MB / 0.8623 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/1.608, allocations: 124.5 kB / 1.395 GB, free: 5.676 MB / 0.8623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/1.608, allocations: 97.38 kB / 1.395 GB, free: 5.582 MB / 0.8623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.608, allocations: 0 / 1.395 GB, free: 5.582 MB / 0.8623 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007711/1.609, allocations: 386.1 kB / 1.396 GB, free: 5.195 MB / 0.8623 GB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/1.609, allocations: 97.78 kB / 1.396 GB, free: 5.094 MB / 0.8623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.609, allocations: 4 kB / 1.396 GB, free: 5.09 MB / 0.8623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/1.609, allocations: 84.73 kB / 1.396 GB, free: 5.004 MB / 0.8623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/1.61, allocations: 67.95 kB / 1.396 GB, free: 4.938 MB / 0.8623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005677/1.61, allocations: 0.6304 MB / 1.397 GB, free: 4.281 MB / 0.8623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/1.611, allocations: 83.69 kB / 1.397 GB, free: 4.199 MB / 0.8623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/1.611, allocations: 4 kB / 1.397 GB, free: 4.195 MB / 0.8623 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/1.611, allocations: 4 kB / 1.397 GB, free: 4.191 MB / 0.8623 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006253/1.612, allocations: 280.5 kB / 1.397 GB, free: 3.914 MB / 0.8623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/1.612, allocations: 4 kB / 1.397 GB, free: 3.91 MB / 0.8623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/1.612, allocations: 80.81 kB / 1.397 GB, free: 3.828 MB / 0.8623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/1.612, allocations: 71.88 kB / 1.397 GB, free: 3.758 MB / 0.8623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/1.614, allocations: 1.561 MB / 1.399 GB, free: 2.082 MB / 0.8623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/1.615, allocations: 55.81 kB / 1.399 GB, free: 2.027 MB / 0.8623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/1.615, allocations: 15.98 kB / 1.399 GB, free: 2.012 MB / 0.8623 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 (28): * Single equations (assignments): 27 * 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: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.615, allocations: 108.5 kB / 1.399 GB, free: 1.902 MB / 0.8623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.615, allocations: 78.97 kB / 1.399 GB, free: 1.824 MB / 0.8623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/1.615, allocations: 92.09 kB / 1.399 GB, free: 1.73 MB / 0.8623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.615, allocations: 4 kB / 1.399 GB, free: 1.727 MB / 0.8623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.615, allocations: 0 / 1.399 GB, free: 1.727 MB / 0.8623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.615, allocations: 0 / 1.399 GB, free: 1.727 MB / 0.8623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/1.616, allocations: 0.9267 MB / 1.4 GB, free: 0.7422 MB / 0.8623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.616, allocations: 4 kB / 1.4 GB, free: 0.7383 MB / 0.8623 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/1.617, allocations: 48.09 kB / 1.4 GB, free: 0.6914 MB / 0.8623 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000321/1.617, allocations: 92.66 kB / 1.4 GB, free: 0.5977 MB / 0.8623 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/1.617, allocations: 4 kB / 1.4 GB, free: 0.5938 MB / 0.8623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/1.619, allocations: 1.546 MB / 1.401 GB, free: 14.93 MB / 0.8779 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.619, allocations: 0 / 1.401 GB, free: 14.93 MB / 0.8779 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007685/1.619, allocations: 0.5252 MB / 1.402 GB, free: 14.35 MB / 0.8779 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008917/1.62, allocations: 0.8968 MB / 1.403 GB, free: 13.39 MB / 0.8779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/1.62, allocations: 183.9 kB / 1.403 GB, free: 13.2 MB / 0.8779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/1.621, allocations: 4 kB / 1.403 GB, free: 13.19 MB / 0.8779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/1.621, allocations: 35.81 kB / 1.403 GB, free: 13.16 MB / 0.8779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/1.621, allocations: 15.98 kB / 1.403 GB, free: 13.14 MB / 0.8779 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/1.621, allocations: 8 kB / 1.403 GB, free: 13.13 MB / 0.8779 GB Notification: Performance of sort global known variables: time 0.0006262/1.622, allocations: 0.5225 MB / 1.404 GB, free: 12.62 MB / 0.8779 GB Notification: Performance of remove unused functions: time 0.001903/1.624, allocations: 287.1 kB / 1.404 GB, free: 12.34 MB / 0.8779 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005737/1.624, allocations: 375 kB / 1.404 GB, free: 11.97 MB / 0.8779 GB Notification: Performance of simCode: created initialization part: time 0.0009078/1.625, allocations: 498.9 kB / 1.405 GB, free: 11.46 MB / 0.8779 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.625, allocations: 0 / 1.405 GB, free: 11.46 MB / 0.8779 GB Notification: Performance of simCode: created simulation system equations: time 0.0002722/1.625, allocations: 217.6 kB / 1.405 GB, free: 11.24 MB / 0.8779 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/1.626, allocations: 103.4 kB / 1.405 GB, free: 11.14 MB / 0.8779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/1.628, allocations: 1.041 MB / 1.406 GB, free: 10.06 MB / 0.8779 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/1.629, allocations: 1.09 MB / 1.407 GB, free: 8.941 MB / 0.8779 GB Notification: Performance of SimCode: time 2.91e-07/1.629, allocations: 0 / 1.407 GB, free: 8.941 MB / 0.8779 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat does not exist to compare? outputFormat=mat