Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",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.617/1.617, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001217/0.001217, allocations: 181.3 kB / 366.3 MB, free: 2.027 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.588/1.588, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0009422/0.0009422, allocations: 75.66 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2936/0.2946, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/1.022, allocations: 116.3 MB / 0.9727 GB, free: 67.94 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/1.239, allocations: 154.4 MB / 1.123 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/1.239, allocations: 100.4 kB / 1.124 GB, free: 9.953 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.1003/1.34, allocations: 34.82 MB / 1.158 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.34, allocations: 11.94 kB / 1.158 GB, free: 6.898 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03095/1.371, allocations: 3.839 MB / 1.161 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003597/1.374, allocations: 1.465 MB / 1.163 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/1.374, allocations: 24 kB / 1.163 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/1.375, allocations: 47.94 kB / 1.163 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002938/1.378, allocations: 1.862 MB / 1.165 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/1.381, allocations: 1.865 MB / 1.166 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/1.381, allocations: 0 / 1.166 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/1.381, allocations: 0 / 1.166 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/1.381, allocations: 16 kB / 1.166 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/1.394, allocations: 8.171 MB / 1.174 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/1.397, allocations: 1.736 MB / 1.176 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/1.399, allocations: 1.499 MB / 1.178 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/1.399, allocations: 52.55 kB / 1.178 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/1.399, allocations: 47.22 kB / 1.178 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 2.986e-06/1.399, allocations: 0 / 1.178 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.01327/1.412, allocations: 5.461 MB / 1.183 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/1.412, allocations: 60.06 kB / 1.183 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/1.414, allocations: 1.058 MB / 1.184 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003793/1.415, allocations: 25.7 kB / 1.184 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/1.415, allocations: 328.2 kB / 1.184 GB, free: 10.44 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/1.415, allocations: 228.5 kB / 1.185 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/1.415, allocations: 0 / 1.185 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.416, allocations: 341.9 kB / 1.185 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002917/1.419, allocations: 2.164 MB / 1.187 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/1.422, allocations: 2.333 MB / 1.189 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.435, allocations: 4.097 MB / 1.193 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/1.435, allocations: 4 kB / 1.193 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02055/1.455, allocations: 7.979 MB / 1.201 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.5e-05/1.456, allocations: 99.53 kB / 1.201 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02069/1.476, allocations: 7.022 MB / 1.208 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03124/1.508, allocations: 5.003 MB / 1.213 GB, free: 13.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006206/1.514, allocations: 0.6945 MB / 1.214 GB, free: 12.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/1.526, allocations: 5.228 MB / 1.219 GB, free: 7.148 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008933/1.535, allocations: 0.8383 MB / 1.22 GB, free: 6.309 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006048/1.536, allocations: 66.27 kB / 1.22 GB, free: 6.246 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.536, allocations: 4 kB / 1.22 GB, free: 6.242 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02114/1.557, allocations: 7.173 MB / 1.227 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01957/1.576, allocations: 6.646 MB / 1.233 GB, free: 8.406 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003723/1.58, allocations: 1 MB / 1.234 GB, free: 7.402 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007927/1.588, allocations: 0.9091 MB / 1.235 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4023/1.99, allocations: 6.723 MB / 1.242 GB, free: 300.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008124/1.999, allocations: 0.8383 MB / 1.242 GB, free: 300.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005724/1.999, allocations: 59.69 kB / 1.242 GB, free: 300.9 MB / 0.8386 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 (29): * Single equations (assignments): 28 * 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 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.0007116/2, allocations: 115.5 kB / 1.243 GB, free: 300.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005174/2, allocations: 104.2 kB / 1.243 GB, free: 300.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/2.011, allocations: 5.033 MB / 1.248 GB, free: 300.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/2.011, allocations: 9.188 kB / 1.248 GB, free: 300.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/2.011, allocations: 0 / 1.248 GB, free: 300.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/2.011, allocations: 3.656 kB / 1.248 GB, free: 300.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/2.023, allocations: 7.034 MB / 1.254 GB, free: 299.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04601/2.069, allocations: 7.602 MB / 1.262 GB, free: 299.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002836/2.072, allocations: 369.7 kB / 1.262 GB, free: 299.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04624/2.118, allocations: 6.751 MB / 1.269 GB, free: 299.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003397/2.118, allocations: 30.84 kB / 1.269 GB, free: 299.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008136/2.126, allocations: 4.317 MB / 1.273 GB, free: 299.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/2.126, allocations: 1.031 kB / 1.273 GB, free: 299.1 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04877/2.175, allocations: 7.817 MB / 1.281 GB, free: 298.6 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04957/2.225, allocations: 8.219 MB / 1.289 GB, free: 297.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/2.226, allocations: 0.549 MB / 1.289 GB, free: 297.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/2.227, allocations: 0 / 1.289 GB, free: 297.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004875/2.232, allocations: 0.5211 MB / 1.29 GB, free: 297.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/2.232, allocations: 44.47 kB / 1.29 GB, free: 297.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/2.232, allocations: 49.06 kB / 1.29 GB, free: 297.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001354/2.233, allocations: 0.8077 MB / 1.291 GB, free: 297.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004226/2.238, allocations: 0.7802 MB / 1.291 GB, free: 297.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008041/2.238, allocations: 326.8 kB / 1.292 GB, free: 297.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0102/2.249, allocations: 6.055 MB / 1.298 GB, free: 295.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/2.249, allocations: 0 / 1.298 GB, free: 295.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002856/2.252, allocations: 1.553 MB / 1.299 GB, free: 295.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/2.253, allocations: 210.2 kB / 1.299 GB, free: 295.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007058/2.26, allocations: 2.909 MB / 1.302 GB, free: 294.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/2.262, allocations: 1.475 MB / 1.304 GB, free: 293.4 MB / 0.8386 GB Notification: Performance of SimCode: time 1.423e-06/2.262, allocations: 0 / 1.304 GB, free: 293.4 MB / 0.8386 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)