Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.351/2.351, allocations: 284.9 MB / 292.2 MB, free: 9.84 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001692/0.001691, allocations: 179.4 kB / 360.4 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.2 MB / 0.6188 GB, free: 3.312 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 100.1 kB / 0.7318 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.075e-05/1.089e-05, allocations: 3.688 kB / 0.8503 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2297, allocations: 115.2 MB / 0.9628 GB, free: 56.95 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6586/0.8884, allocations: 142.5 MB / 1.102 GB, free: 32.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.8888, allocations: 85.12 kB / 1.102 GB, free: 32.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02878/0.9176, allocations: 6.325 MB / 1.108 GB, free: 32.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.03e-05/0.9177, allocations: 7.875 kB / 1.108 GB, free: 32.23 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001291/0.919, allocations: 0.636 MB / 1.109 GB, free: 31.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.919, allocations: 12.25 kB / 1.109 GB, free: 31.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.9192, allocations: 46.72 kB / 1.109 GB, free: 31.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.9197, allocations: 324.7 kB / 1.109 GB, free: 31.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.9198, allocations: 11.81 kB / 1.109 GB, free: 31.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.9199, allocations: 23.25 kB / 1.109 GB, free: 31.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006573/0.9205, allocations: 217.5 kB / 1.109 GB, free: 31.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.9212, allocations: 302.6 kB / 1.11 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.9212, allocations: 0 / 1.11 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.9213, allocations: 0 / 1.11 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.9213, allocations: 9.594 kB / 1.11 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.9239, allocations: 1.392 MB / 1.111 GB, free: 30.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.9246, allocations: 235.6 kB / 1.111 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/0.9251, allocations: 162.8 kB / 1.112 GB, free: 30.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.141e-05/0.9252, allocations: 4.109 kB / 1.112 GB, free: 30.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.9252, allocations: 30.8 kB / 1.112 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 2.925e-06/0.9252, allocations: 0 / 1.112 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.001666/0.9269, allocations: 398.5 kB / 1.112 GB, free: 30.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.927, allocations: 55.25 kB / 1.112 GB, free: 30.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.9273, allocations: 254.5 kB / 1.112 GB, free: 30.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.9274, allocations: 25.7 kB / 1.112 GB, free: 30.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.9275, allocations: 185.9 kB / 1.112 GB, free: 30.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/0.9276, allocations: 85.67 kB / 1.112 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.9276, allocations: 4 kB / 1.112 GB, free: 30.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.9277, allocations: 348.8 kB / 1.113 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.928, allocations: 75.44 kB / 1.113 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.9282, allocations: 129.3 kB / 1.113 GB, free: 29.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.9285, allocations: 108.7 kB / 1.113 GB, free: 29.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.9285, allocations: 0 / 1.113 GB, free: 29.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001619/0.9301, allocations: 414.9 kB / 1.114 GB, free: 29.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.9303, allocations: 0.5245 MB / 1.114 GB, free: 29.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9303, allocations: 0 / 1.114 GB, free: 29.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.9315, allocations: 175.2 kB / 1.114 GB, free: 29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.9319, allocations: 43.25 kB / 1.114 GB, free: 29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.9332, allocations: 0.8259 MB / 1.115 GB, free: 44.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.9338, allocations: 37.22 kB / 1.115 GB, free: 44.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.9339, allocations: 11.47 kB / 1.115 GB, free: 44.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.9339, allocations: 3.844 kB / 1.115 GB, free: 44.44 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001516/0.9354, allocations: 366.1 kB / 1.115 GB, free: 44.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.9354, allocations: 0 / 1.115 GB, free: 44.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.9366, allocations: 183.9 kB / 1.116 GB, free: 44.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.9369, allocations: 41.61 kB / 1.116 GB, free: 44.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004538/0.9415, allocations: 2.229 MB / 1.118 GB, free: 43.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.9421, allocations: 29.66 kB / 1.118 GB, free: 43.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.9422, allocations: 9.344 kB / 1.118 GB, free: 43.11 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.9423, allocations: 108.9 kB / 1.118 GB, free: 43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.9424, allocations: 42.02 kB / 1.118 GB, free: 42.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.9426, allocations: 40.45 kB / 1.118 GB, free: 42.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.9426, allocations: 3.875 kB / 1.118 GB, free: 42.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.9426, allocations: 3.984 kB / 1.118 GB, free: 42.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.9426, allocations: 6.328 kB / 1.118 GB, free: 42.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.9432, allocations: 360.1 kB / 1.118 GB, free: 42.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.9432, allocations: 0 / 1.118 GB, free: 42.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.9435, allocations: 33.48 kB / 1.118 GB, free: 42.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.9447, allocations: 163.8 kB / 1.119 GB, free: 42.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.9447, allocations: 0 / 1.119 GB, free: 42.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004369/0.9491, allocations: 2.234 MB / 1.121 GB, free: 41.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.9491, allocations: 0 / 1.121 GB, free: 41.5 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001585/0.9507, allocations: 487.4 kB / 1.121 GB, free: 41.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.951, allocations: 131 kB / 1.121 GB, free: 41.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.951, allocations: 0 / 1.121 GB, free: 41.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.9515, allocations: 16.45 kB / 1.121 GB, free: 41.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.9516, allocations: 13.19 kB / 1.121 GB, free: 41.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.9516, allocations: 11.34 kB / 1.121 GB, free: 41.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002885/0.9519, allocations: 194.4 kB / 1.122 GB, free: 41.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009327/0.9528, allocations: 202.2 kB / 1.122 GB, free: 41.09 MB / 0.7292 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 (11): * Single equations (assignments): 10 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.953, allocations: 100.2 kB / 1.122 GB, free: 41.01 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.9546, allocations: 0.5112 MB / 1.122 GB, free: 40.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9547, allocations: 0 / 1.122 GB, free: 40.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006393/0.9553, allocations: 259.2 kB / 1.123 GB, free: 40.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.956, allocations: 60.45 kB / 1.123 GB, free: 40.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.9579, allocations: 486.7 kB / 1.123 GB, free: 40.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005052/0.9585, allocations: 0.83 MB / 1.124 GB, free: 39.86 MB / 0.7292 GB Notification: Performance of SimCode: time 1.323e-06/0.9585, allocations: 0 / 1.124 GB, free: 39.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.01971/0.9782, allocations: 7.129 MB / 1.131 GB, free: 39.43 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)