Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.266/1.266, allocations: 249.4 MB / 256.7 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 177.3 kB / 316 MB, free: 3.586 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.14/1.14, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000879/0.000879, allocations: 84.88 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3187/0.3196, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.4888, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4799/0.9687, allocations: 141.9 MB / 1.023 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.969, allocations: 75.77 kB / 1.023 GB, free: 12.77 MB / 0.6511 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.05738/1.026, allocations: 22.91 MB / 1.046 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.026, allocations: 12 kB / 1.046 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009201/1.027, allocations: 222 kB / 1.046 GB, free: 9.832 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007385/1.028, allocations: 0.5125 MB / 1.046 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/1.028, allocations: 12 kB / 1.046 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/1.028, allocations: 31.98 kB / 1.046 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004885/1.029, allocations: 276.8 kB / 1.047 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/1.029, allocations: 367.3 kB / 1.047 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.029, allocations: 0 / 1.047 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/1.029, allocations: 0 / 1.047 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/1.029, allocations: 16 kB / 1.047 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/1.032, allocations: 1.383 MB / 1.048 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/1.032, allocations: 227.7 kB / 1.049 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/1.032, allocations: 120.9 kB / 1.049 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/1.032, allocations: 240 / 1.049 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/1.032, allocations: 38.23 kB / 1.049 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=28): time 9.72e-07/1.032, allocations: 0 / 1.049 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28): time 0.0007305/1.033, allocations: 357.1 kB / 1.049 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/1.033, allocations: 77.11 kB / 1.049 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/1.034, allocations: 0.6546 MB / 1.05 GB, free: 6.531 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/1.034, allocations: 25.7 kB / 1.05 GB, free: 6.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/1.034, allocations: 269 kB / 1.05 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/1.034, allocations: 93.31 kB / 1.05 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/1.034, allocations: 0 / 1.05 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.034, allocations: 315.7 kB / 1.051 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/1.034, allocations: 91.36 kB / 1.051 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/1.035, allocations: 121.8 kB / 1.051 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/1.035, allocations: 98.02 kB / 1.051 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.035, allocations: 4 kB / 1.051 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000706/1.035, allocations: 390.2 kB / 1.051 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/1.036, allocations: 100.8 kB / 1.051 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.036, allocations: 0 / 1.051 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/1.036, allocations: 79.23 kB / 1.051 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/1.036, allocations: 87.81 kB / 1.051 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004412/1.037, allocations: 0.6243 MB / 1.052 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/1.037, allocations: 79.45 kB / 1.052 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/1.037, allocations: 15.92 kB / 1.052 GB, free: 4.426 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.561e-06/1.037, allocations: 4 kB / 1.052 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006048/1.038, allocations: 268.9 kB / 1.052 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/1.038, allocations: 0 / 1.052 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/1.038, allocations: 82.23 kB / 1.052 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/1.039, allocations: 79.52 kB / 1.053 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/1.04, allocations: 1.55 MB / 1.054 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/1.041, allocations: 59.77 kB / 1.054 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/1.041, allocations: 7.375 kB / 1.054 GB, free: 2.551 MB / 0.6667 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 9.949e-05/1.041, allocations: 105 kB / 1.054 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/1.041, allocations: 78.97 kB / 1.054 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/1.041, allocations: 88.12 kB / 1.054 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/1.041, allocations: 8.031 kB / 1.054 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.041, allocations: 7.922 kB / 1.054 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.041, allocations: 0 / 1.054 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/1.042, allocations: 0.9302 MB / 1.055 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.042, allocations: 0 / 1.055 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/1.043, allocations: 55.36 kB / 1.055 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/1.043, allocations: 77.67 kB / 1.055 GB, free: 1.398 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/1.043, allocations: 0 / 1.055 GB, free: 1.398 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/1.044, allocations: 1.562 MB / 1.057 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.044, allocations: 7.938 kB / 1.057 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006771/1.045, allocations: 0.5078 MB / 1.057 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008234/1.046, allocations: 0.9082 MB / 1.058 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/1.046, allocations: 179.7 kB / 1.059 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/1.046, allocations: 4 kB / 1.059 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/1.046, allocations: 23.98 kB / 1.059 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/1.046, allocations: 23.56 kB / 1.059 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/1.047, allocations: 11.06 kB / 1.059 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005462/1.047, allocations: 0.5204 MB / 1.059 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001785/1.049, allocations: 283.9 kB / 1.059 GB, free: 13.65 MB / 0.6823 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.0004224/1.049, allocations: 379.7 kB / 1.06 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007858/1.05, allocations: 0.4912 MB / 1.06 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.05, allocations: 3.938 kB / 1.06 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/1.05, allocations: 215.2 kB / 1.06 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/1.051, allocations: 92.33 kB / 1.061 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/1.053, allocations: 1.036 MB / 1.062 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006826/1.053, allocations: 1.082 MB / 1.063 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/1.054, allocations: 3.938 kB / 1.063 GB, free: 10.63 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1)