Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.591/1.591, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001606/0.001606, allocations: 185.3 kB / 361.1 MB, free: 7.066 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.615/1.615, allocations: 205.1 MB / 0.6195 GB, free: 10.25 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.0008423/0.0008423, allocations: 87.84 kB / 0.7326 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.454e-06, allocations: 0 / 0.8511 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7254, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.9242, allocations: 139.8 MB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.9246, allocations: 81.34 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of FrontEnd: time 0.0121/0.9367, allocations: 3.447 MB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.9367, allocations: 4 kB / 1.104 GB, free: 12.66 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.001239/0.938, allocations: 0.6041 MB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.9381, allocations: 12.53 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.739e-05/0.9381, allocations: 23.72 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.9385, allocations: 261.7 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.9386, allocations: 4.703 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.9386, allocations: 12 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002669/0.9389, allocations: 101.9 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.9392, allocations: 168.9 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.9392, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.9392, allocations: 7.906 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.9392, allocations: 5.078 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009016/0.9402, allocations: 0.5241 MB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.9405, allocations: 138.7 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.9407, allocations: 61.56 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.9407, allocations: 3.984 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.9409, allocations: 115.2 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.941, allocations: 1.312 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0003892/0.9414, allocations: 145.4 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.9414, allocations: 110.8 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.9416, allocations: 171 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.9416, allocations: 29.7 kB / 1.106 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.9417, allocations: 116.3 kB / 1.106 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.9418, allocations: 43.36 kB / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.9418, allocations: 0 / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.942, allocations: 326.8 kB / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.9421, allocations: 56 kB / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.9422, allocations: 74.56 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.525e-05/0.9423, allocations: 54.83 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9423, allocations: 0 / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003027/0.9426, allocations: 165.3 kB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.9427, allocations: 91.53 kB / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.9427, allocations: 4.031 kB / 1.107 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.9427, allocations: 4 kB / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.9431, allocations: 76.53 kB / 1.107 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.9431, allocations: 0 / 1.107 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.9435, allocations: 83.78 kB / 1.107 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.9436, allocations: 7.938 kB / 1.107 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.575e-06/0.9436, allocations: 4 kB / 1.107 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000221/0.9438, allocations: 109.5 kB / 1.107 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.9438, allocations: 5.531 kB / 1.107 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/0.9438, allocations: 3.938 kB / 1.107 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.9441, allocations: 59.94 kB / 1.107 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.9441, allocations: 4 kB / 1.107 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.9444, allocations: 59.95 kB / 1.107 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.9445, allocations: 7.906 kB / 1.107 GB, free: 8.629 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.0001143/0.9446, allocations: 112.9 kB / 1.108 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.9446, allocations: 16.38 kB / 1.108 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.9447, allocations: 17.47 kB / 1.108 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.9447, allocations: 4 kB / 1.108 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9447, allocations: 0 / 1.108 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.9447, allocations: 11.89 kB / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.945, allocations: 246.9 kB / 1.108 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.945, allocations: 0 / 1.108 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.9453, allocations: 77 kB / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.9453, allocations: 7.906 kB / 1.108 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.9453, allocations: 7.984 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9453, allocations: 0 / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9454, allocations: 2.156 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002647/0.9456, allocations: 164.2 kB / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.9457, allocations: 108.8 kB / 1.108 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.9458, allocations: 0 / 1.108 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.9462, allocations: 69.19 kB / 1.108 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.9463, allocations: 27.95 kB / 1.108 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.9463, allocations: 11.98 kB / 1.108 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001255/0.9464, allocations: 137.6 kB / 1.108 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003306/0.9468, allocations: 71.75 kB / 1.108 GB, free: 7.484 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.0001919/0.947, allocations: 117.4 kB / 1.109 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.9475, allocations: 311.6 kB / 1.109 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9475, allocations: 0 / 1.109 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.9476, allocations: 67.98 kB / 1.109 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.9479, allocations: 35.34 kB / 1.109 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.9486, allocations: 236.3 kB / 1.109 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005646/0.9492, allocations: 0.7646 MB / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.9492, allocations: 0 / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of Templates: time 0.009233/0.9584, allocations: 4.043 MB / 1.114 GB, free: 1.938 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)