Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.408/1.408, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001079/0.001079, allocations: 185.2 kB / 361.1 MB, free: 7.082 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.189/1.189, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008593/0.0008594, allocations: 89.36 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2172/0.2181, allocations: 121.5 MB / 0.8512 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.7321, allocations: 115.3 MB / 0.9638 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.9009, allocations: 153.4 MB / 1.114 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.9013, allocations: 92.56 kB / 1.114 GB, free: 2.402 MB / 0.7136 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.09862/0.9999, allocations: 34.78 MB / 1.148 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1, allocations: 8 kB / 1.148 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0307/1.031, allocations: 3.83 MB / 1.151 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003629/1.034, allocations: 1.465 MB / 1.153 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/1.034, allocations: 24 kB / 1.153 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004992/1.035, allocations: 45.22 kB / 1.153 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002822/1.038, allocations: 1.862 MB / 1.155 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/1.041, allocations: 1.869 MB / 1.157 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/1.041, allocations: 0.9375 kB / 1.157 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/1.041, allocations: 0 / 1.157 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/1.041, allocations: 16 kB / 1.157 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/1.055, allocations: 8.155 MB / 1.165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/1.058, allocations: 1.743 MB / 1.166 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/1.06, allocations: 1.499 MB / 1.168 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/1.06, allocations: 56.55 kB / 1.168 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/1.06, allocations: 39.22 kB / 1.168 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 3.015e-06/1.06, allocations: 4 kB / 1.168 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.01265/1.072, allocations: 5.465 MB / 1.173 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/1.073, allocations: 65.28 kB / 1.173 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/1.074, allocations: 1.042 MB / 1.174 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003055/1.075, allocations: 29.7 kB / 1.174 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/1.075, allocations: 328.2 kB / 1.175 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/1.075, allocations: 232.5 kB / 1.175 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/1.075, allocations: 0 / 1.175 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.076, allocations: 334 kB / 1.175 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002885/1.079, allocations: 2.164 MB / 1.177 GB, free: 420 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/1.082, allocations: 2.333 MB / 1.179 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/1.095, allocations: 4.104 MB / 1.183 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.095, allocations: 0 / 1.183 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.01956/1.114, allocations: 7.979 MB / 1.191 GB, free: 1.926 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/1.114, allocations: 103.6 kB / 1.191 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01871/1.133, allocations: 7.028 MB / 1.198 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02923/1.162, allocations: 4.999 MB / 1.203 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005727/1.168, allocations: 0.6905 MB / 1.204 GB, free: 5.105 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/1.179, allocations: 5.222 MB / 1.209 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008387/1.188, allocations: 0.8422 MB / 1.21 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003498/1.188, allocations: 63.92 kB / 1.21 GB, free: 14.95 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.188, allocations: 4 kB / 1.21 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0205/1.209, allocations: 7.169 MB / 1.217 GB, free: 7.766 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01779/1.226, allocations: 6.65 MB / 1.223 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003478/1.23, allocations: 1 MB / 1.224 GB, free: 104 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007429/1.237, allocations: 0.9129 MB / 1.225 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.249, allocations: 6.715 MB / 1.232 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007855/1.257, allocations: 0.8422 MB / 1.233 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004396/1.257, allocations: 59.92 kB / 1.233 GB, free: 7.453 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.0006587/1.258, allocations: 110.1 kB / 1.233 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000457/1.259, allocations: 102.7 kB / 1.233 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.27, allocations: 5.044 MB / 1.238 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.27, allocations: 11.94 kB / 1.238 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.27, allocations: 0 / 1.238 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.27, allocations: 3.984 kB / 1.238 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.282, allocations: 7.036 MB / 1.245 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04652/1.328, allocations: 7.598 MB / 1.252 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002853/1.331, allocations: 363.6 kB / 1.252 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4214/1.752, allocations: 6.757 MB / 1.259 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002853/1.753, allocations: 28.66 kB / 1.259 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/1.759, allocations: 4.313 MB / 1.263 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.759, allocations: 2.938 kB / 1.263 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0442/1.804, allocations: 7.829 MB / 1.271 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04579/1.849, allocations: 8.215 MB / 1.279 GB, free: 208 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.851, allocations: 0.5414 MB / 1.279 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/1.851, allocations: 5.375 kB / 1.279 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004642/1.856, allocations: 0.5201 MB / 1.28 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/1.856, allocations: 41.45 kB / 1.28 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.856, allocations: 52.38 kB / 1.28 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000907/1.857, allocations: 0.8025 MB / 1.281 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003532/1.861, allocations: 0.7859 MB / 1.282 GB, free: 207.7 MB / 0.8542 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.0006419/1.861, allocations: 323.1 kB / 1.282 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008821/1.87, allocations: 6.055 MB / 1.288 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.87, allocations: 0 / 1.288 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002582/1.873, allocations: 1.548 MB / 1.289 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/1.874, allocations: 201.6 kB / 1.289 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005579/1.879, allocations: 2.912 MB / 1.292 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/1.881, allocations: 1.467 MB / 1.294 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of SimCode: time 9.92e-07/1.881, allocations: 0 / 1.294 GB, free: 206.2 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)