Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.548/1.548, allocations: 289.8 MB / 297.1 MB, free: 6.707 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 177.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 0.6256 GB, free: 5.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009066/0.0009066, allocations: 82.19 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2704/0.2714, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6736/0.945, allocations: 116.3 MB / 0.9726 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/1.164, allocations: 148.1 MB / 1.117 GB, free: 400 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/1.164, allocations: 77.02 kB / 1.117 GB, free: 324 kB / 0.7136 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.06469/1.229, allocations: 22.91 MB / 1.14 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.229, allocations: 8 kB / 1.14 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/1.23, allocations: 226.5 kB / 1.14 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/1.232, allocations: 0.5077 MB / 1.14 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/1.232, allocations: 16.66 kB / 1.14 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.409e-05/1.232, allocations: 24 kB / 1.141 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006449/1.232, allocations: 286 kB / 1.141 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/1.233, allocations: 364.2 kB / 1.141 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/1.233, allocations: 0 / 1.141 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/1.233, allocations: 3.906 kB / 1.141 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/1.233, allocations: 12 kB / 1.141 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/1.236, allocations: 1.385 MB / 1.142 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/1.237, allocations: 227.1 kB / 1.143 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/1.237, allocations: 117.3 kB / 1.143 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/1.237, allocations: 4.234 kB / 1.143 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/1.237, allocations: 38.78 kB / 1.143 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/1.237, allocations: 0 / 1.143 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0009053/1.238, allocations: 358.2 kB / 1.143 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/1.238, allocations: 85.09 kB / 1.143 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009014/1.239, allocations: 0.6414 MB / 1.144 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/1.239, allocations: 25.7 kB / 1.144 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/1.239, allocations: 279.8 kB / 1.144 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/1.239, allocations: 91.41 kB / 1.144 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/1.239, allocations: 0 / 1.144 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.239, allocations: 321.9 kB / 1.145 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/1.24, allocations: 80.56 kB / 1.145 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/1.24, allocations: 124.5 kB / 1.145 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/1.24, allocations: 103.1 kB / 1.145 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.24, allocations: 3.906 kB / 1.145 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000816/1.241, allocations: 386.1 kB / 1.145 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/1.241, allocations: 94.81 kB / 1.145 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.241, allocations: 0 / 1.145 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004337/1.241, allocations: 88.8 kB / 1.145 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/1.242, allocations: 71.89 kB / 1.146 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006099/1.242, allocations: 0.6364 MB / 1.146 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/1.243, allocations: 67.8 kB / 1.146 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/1.243, allocations: 8 kB / 1.146 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.006e-06/1.243, allocations: 4 kB / 1.146 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006637/1.244, allocations: 276.6 kB / 1.146 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-06/1.244, allocations: 0 / 1.146 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/1.244, allocations: 84.8 kB / 1.147 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/1.245, allocations: 71.89 kB / 1.147 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/1.246, allocations: 1.559 MB / 1.148 GB, free: 308 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/1.247, allocations: 59.86 kB / 1.148 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/1.247, allocations: 8 kB / 1.148 GB, free: 240 kB / 0.7448 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.0001255/1.247, allocations: 104.9 kB / 1.148 GB, free: 128 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.247, allocations: 86.97 kB / 1.148 GB, free: 40 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/1.247, allocations: 84.19 kB / 1.148 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.247, allocations: 4 kB / 1.148 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.247, allocations: 0 / 1.148 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.247, allocations: 9.328 kB / 1.148 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/1.249, allocations: 0.9259 MB / 1.149 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.249, allocations: 4.047 kB / 1.149 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/1.249, allocations: 51.89 kB / 1.149 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003594/1.25, allocations: 80.92 kB / 1.15 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/1.25, allocations: 4 kB / 1.15 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/1.251, allocations: 1.547 MB / 1.151 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.251, allocations: 7.938 kB / 1.151 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007782/1.252, allocations: 0.5152 MB / 1.152 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009832/1.253, allocations: 0.9122 MB / 1.152 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/1.253, allocations: 176.1 kB / 1.153 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.253, allocations: 7.906 kB / 1.153 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/1.254, allocations: 31.97 kB / 1.153 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/1.254, allocations: 15.97 kB / 1.153 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/1.254, allocations: 8 kB / 1.153 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0006981/1.255, allocations: 0.5158 MB / 1.153 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00222/1.257, allocations: 299 kB / 1.153 GB, free: 10.55 MB / 0.7605 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.0005432/1.257, allocations: 382.1 kB / 1.154 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009611/1.258, allocations: 498.3 kB / 1.154 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.258, allocations: 0 / 1.154 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/1.259, allocations: 217.8 kB / 1.154 GB, free: 9.457 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/1.259, allocations: 99.89 kB / 1.155 GB, free: 9.359 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/1.262, allocations: 1.044 MB / 1.156 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009562/1.263, allocations: 1.086 MB / 1.157 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of SimCode: time 1.062e-06/1.263, allocations: 0 / 1.157 GB, free: 7.164 MB / 0.7605 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.fmu > Buildings_8_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1)