Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") [: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.542/1.542, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001147/0.001147, allocations: 181.3 kB / 366.3 MB, free: 1.98 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.736/1.736, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009352/0.0009349, allocations: 87.66 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.697e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7523/0.7523, allocations: 116.3 MB / 0.9726 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/0.96, allocations: 144.9 MB / 1.114 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.9605, allocations: 84.78 kB / 1.114 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03156/0.992, allocations: 9.815 MB / 1.124 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.934e-05/0.9921, allocations: 12 kB / 1.124 GB, free: 9.699 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00132/0.9935, allocations: 0.7049 MB / 1.124 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.9935, allocations: 8.031 kB / 1.124 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.9937, allocations: 56.28 kB / 1.124 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.9943, allocations: 347.7 kB / 1.125 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.9944, allocations: 19.91 kB / 1.125 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.9945, allocations: 28 kB / 1.125 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005722/0.995, allocations: 282 kB / 1.125 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.9957, allocations: 312.5 kB / 1.125 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.9957, allocations: 0 / 1.125 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.9958, allocations: 0 / 1.125 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.9958, allocations: 12 kB / 1.125 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.9984, allocations: 1.213 MB / 1.127 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.9991, allocations: 340.5 kB / 1.127 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.9995, allocations: 212.8 kB / 1.127 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.724e-05/0.9995, allocations: 4 kB / 1.127 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.9996, allocations: 46.55 kB / 1.127 GB, free: 6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 2.154e-06/0.9996, allocations: 0 / 1.127 GB, free: 6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.002169/1.002, allocations: 0.6383 MB / 1.128 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/1.002, allocations: 63.31 kB / 1.128 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/1.002, allocations: 231.4 kB / 1.128 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/1.002, allocations: 33.64 kB / 1.128 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/1.002, allocations: 184.3 kB / 1.128 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/1.003, allocations: 138 kB / 1.128 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/1.003, allocations: 0 / 1.128 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002064/1.003, allocations: 342.8 kB / 1.129 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/1.003, allocations: 116.7 kB / 1.129 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/1.003, allocations: 186.8 kB / 1.129 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/1.004, allocations: 135.9 kB / 1.129 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.004, allocations: 0 / 1.129 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001956/1.006, allocations: 0.6619 MB / 1.13 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.686e-05/1.006, allocations: 89 kB / 1.13 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.006, allocations: 0 / 1.13 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/1.008, allocations: 405 kB / 1.13 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/1.008, allocations: 28.55 kB / 1.13 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/1.01, allocations: 1.149 MB / 1.131 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/1.01, allocations: 31.73 kB / 1.131 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/1.01, allocations: 11.88 kB / 1.131 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.01, allocations: 8 kB / 1.131 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001878/1.012, allocations: 0.5859 MB / 1.132 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.012, allocations: 1.031 kB / 1.132 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/1.014, allocations: 405 kB / 1.132 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/1.014, allocations: 27.98 kB / 1.132 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00584/1.02, allocations: 3.462 MB / 1.136 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/1.02, allocations: 35.73 kB / 1.136 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/1.02, allocations: 12 kB / 1.136 GB, free: 12.83 MB / 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 (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001412/1.021, allocations: 105 kB / 1.136 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/1.021, allocations: 31.62 kB / 1.136 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/1.021, allocations: 59.05 kB / 1.136 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.021, allocations: 4 kB / 1.136 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/1.021, allocations: 0 / 1.136 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.021, allocations: 4.547 kB / 1.136 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/1.021, allocations: 438.3 kB / 1.137 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.021, allocations: 3.938 kB / 1.137 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/1.022, allocations: 23.98 kB / 1.137 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/1.023, allocations: 401 kB / 1.137 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/1.023, allocations: 0 / 1.137 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005372/1.029, allocations: 3.419 MB / 1.14 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.029, allocations: 0 / 1.14 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00174/1.03, allocations: 0.7299 MB / 1.141 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/1.031, allocations: 144.5 kB / 1.141 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/1.031, allocations: 0 / 1.141 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/1.031, allocations: 23.83 kB / 1.141 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/1.031, allocations: 27.91 kB / 1.141 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.031, allocations: 8.125 kB / 1.141 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001846/1.031, allocations: 184 kB / 1.141 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008009/1.032, allocations: 251.3 kB / 1.142 GB, free: 6.801 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 9 * 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001693/1.032, allocations: 106 kB / 1.142 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002216/1.034, allocations: 0.8423 MB / 1.143 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.034, allocations: 3.938 kB / 1.143 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008759/1.035, allocations: 404.4 kB / 1.143 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/1.036, allocations: 81.06 kB / 1.143 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/1.037, allocations: 0.568 MB / 1.144 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/1.038, allocations: 0.8513 MB / 1.144 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/1.038, allocations: 4 kB / 1.144 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of Templates: time 0.01777/1.056, allocations: 10.64 MB / 1.155 GB, free: 9.387 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)