Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") [: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.251/2.251, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.00159/0.001589, allocations: 181.3 kB / 360.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.2 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001321/0.00132, allocations: 92.27 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/8.046e-06, allocations: 0 / 0.8503 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.6382, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/0.8638, allocations: 139.5 MB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.8641, allocations: 81.27 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.019/0.8832, allocations: 3.447 MB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.8832, allocations: 0 / 1.102 GB, free: 13.8 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001811/0.8851, allocations: 0.6119 MB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.8851, allocations: 8.531 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.8852, allocations: 23.72 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.8857, allocations: 259.6 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.8858, allocations: 7.984 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.8858, allocations: 8.938 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003996/0.8862, allocations: 100 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.8867, allocations: 176.9 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.8867, allocations: 0 / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.8868, allocations: 3.906 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.8868, allocations: 4 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.8882, allocations: 0.5207 MB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.8887, allocations: 135.3 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.8889, allocations: 67.22 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.889, allocations: 8 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.8893, allocations: 115.2 kB / 1.104 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.695e-06/0.8893, allocations: 0 / 1.104 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0005276/0.8899, allocations: 142.2 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.8899, allocations: 106.8 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.8902, allocations: 175 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.8903, allocations: 25.7 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.988e-05/0.8904, allocations: 120.3 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.8904, allocations: 43.36 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.8905, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.8906, allocations: 330.8 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.8908, allocations: 52 kB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.8911, allocations: 77.31 kB / 1.105 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.8912, allocations: 47.92 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8913, allocations: 4.031 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005417/0.8918, allocations: 172.7 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.667e-05/0.8919, allocations: 89 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.8919, allocations: 0 / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.8919, allocations: 0 / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/0.8926, allocations: 81.25 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.8926, allocations: 7.672 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007393/0.8934, allocations: 75.78 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.8934, allocations: 11.92 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.8935, allocations: 4 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003692/0.8938, allocations: 106.5 kB / 1.106 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8939, allocations: 3.906 kB / 1.106 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.8939, allocations: 4 kB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/0.8944, allocations: 67.89 kB / 1.106 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.8944, allocations: 0 / 1.106 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/0.8951, allocations: 59.94 kB / 1.106 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.8951, allocations: 7.906 kB / 1.106 GB, free: 9.762 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.8953, allocations: 124.4 kB / 1.106 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/0.8954, allocations: 17.06 kB / 1.106 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.163e-05/0.8955, allocations: 17.45 kB / 1.106 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8955, allocations: 0 / 1.106 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.8955, allocations: 4 kB / 1.106 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.8955, allocations: 4.75 kB / 1.106 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.8959, allocations: 246 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8959, allocations: 0 / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006142/0.8965, allocations: 83.92 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.8965, allocations: 3.906 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.8965, allocations: 0 / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.8966, allocations: 5.438 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.8966, allocations: 0 / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004459/0.897, allocations: 168.8 kB / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/0.8971, allocations: 100.8 kB / 1.107 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.8972, allocations: 7.984 kB / 1.107 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006915/0.8979, allocations: 67.94 kB / 1.107 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.8981, allocations: 31.95 kB / 1.107 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.8981, allocations: 0 / 1.107 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001794/0.8983, allocations: 141.5 kB / 1.107 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005466/0.8989, allocations: 71.75 kB / 1.107 GB, free: 8.613 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001965/0.8991, allocations: 109 kB / 1.107 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000861/0.9, allocations: 320.2 kB / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9, allocations: 0 / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.9002, allocations: 60 kB / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.9007, allocations: 33 kB / 1.108 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.9017, allocations: 241.8 kB / 1.108 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.9022, allocations: 0.7614 MB / 1.109 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/0.9022, allocations: 0 / 1.109 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of Templates: time 0.01266/0.9149, allocations: 4.037 MB / 1.113 GB, free: 3.078 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)