Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.514/1.514, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001071/0.001072, allocations: 173.3 kB / 366.3 MB, free: 2 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.441/1.441, allocations: 205.2 MB / 0.6256 GB, free: 5.812 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.001081/0.001081, allocations: 91.77 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.402e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7187/0.7187, allocations: 116.3 MB / 0.9726 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.9003, allocations: 140.8 MB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.9007, allocations: 87.92 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01191/0.9126, allocations: 3.448 MB / 1.114 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.9127, allocations: 8 kB / 1.114 GB, free: 4.113 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.001305/0.914, allocations: 0.6002 MB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.914, allocations: 8.031 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.9142, allocations: 25.12 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.9147, allocations: 263.6 kB / 1.114 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.9147, allocations: 7.984 kB / 1.114 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.9147, allocations: 8 kB / 1.114 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002738/0.915, allocations: 99.94 kB / 1.115 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.9154, allocations: 168.2 kB / 1.115 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.9154, allocations: 0 / 1.115 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.9154, allocations: 11.91 kB / 1.115 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.9154, allocations: 0 / 1.115 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.9165, allocations: 0.5241 MB / 1.115 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.9169, allocations: 134.6 kB / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.917, allocations: 64.94 kB / 1.115 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.9171, allocations: 0 / 1.115 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.9173, allocations: 119.3 kB / 1.116 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.344e-06/0.9174, allocations: 1.969 kB / 1.116 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0003903/0.9178, allocations: 145.4 kB / 1.116 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.9178, allocations: 102.8 kB / 1.116 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.9181, allocations: 171 kB / 1.116 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.9181, allocations: 33.7 kB / 1.116 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.9182, allocations: 112.3 kB / 1.116 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.9183, allocations: 43.36 kB / 1.116 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/0.9183, allocations: 4 kB / 1.116 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.9184, allocations: 330.8 kB / 1.116 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.9186, allocations: 48 kB / 1.116 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.9187, allocations: 82.56 kB / 1.117 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.9188, allocations: 42.73 kB / 1.117 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9188, allocations: 0 / 1.117 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003358/0.9192, allocations: 173.3 kB / 1.117 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.944e-05/0.9193, allocations: 100 kB / 1.117 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.9193, allocations: 0 / 1.117 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.9193, allocations: 0 / 1.117 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.9197, allocations: 79.94 kB / 1.117 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.9197, allocations: 0 / 1.117 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.9201, allocations: 83.78 kB / 1.117 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.9201, allocations: 7.984 kB / 1.117 GB, free: 328 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.9201, allocations: 4.844 kB / 1.117 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002202/0.9204, allocations: 106.1 kB / 1.117 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.9204, allocations: 3.906 kB / 1.117 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/0.9204, allocations: 3.938 kB / 1.117 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.9207, allocations: 59.95 kB / 1.117 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.9207, allocations: 3.047 kB / 1.117 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.921, allocations: 63.94 kB / 1.117 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.9211, allocations: 7.906 kB / 1.117 GB, free: 80 kB / 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.0001266/0.9212, allocations: 112.9 kB / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.9213, allocations: 16.66 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.9213, allocations: 29.45 kB / 1.117 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9213, allocations: 0 / 1.117 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.9213, allocations: 0 / 1.117 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.9214, allocations: 3.906 kB / 1.117 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.9216, allocations: 250 kB / 1.118 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.9216, allocations: 0 / 1.118 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.922, allocations: 79.92 kB / 1.118 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.922, allocations: 3.906 kB / 1.118 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.922, allocations: 4.844 kB / 1.118 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.922, allocations: 0 / 1.118 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.922, allocations: 0 / 1.118 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002804/0.9223, allocations: 164.9 kB / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.9224, allocations: 100.7 kB / 1.118 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.9225, allocations: 8 kB / 1.118 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.9229, allocations: 71.92 kB / 1.118 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.923, allocations: 27.95 kB / 1.118 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.923, allocations: 8 kB / 1.118 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001247/0.9232, allocations: 142.5 kB / 1.118 GB, free: 15 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003594/0.9235, allocations: 75.75 kB / 1.118 GB, free: 14.92 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: 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.0001773/0.9237, allocations: 107.4 kB / 1.118 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.9242, allocations: 311.6 kB / 1.119 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9242, allocations: 0 / 1.119 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.9244, allocations: 72.5 kB / 1.119 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.9247, allocations: 35.53 kB / 1.119 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007193/0.9254, allocations: 233 kB / 1.119 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.9259, allocations: 0.7636 MB / 1.12 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of SimCode: time 1.873e-06/0.9259, allocations: 0 / 1.12 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.008581/0.9345, allocations: 4.042 MB / 1.124 GB, free: 9.363 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)