Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) [: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.0/package.mo): time 2.235/2.235, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.002485/0.002485, allocations: 181.2 kB / 360.3 MB, free: 7.551 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.822/1.822, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001171/0.00117, allocations: 86.44 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2715/0.2727, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6255/0.8983, allocations: 115.2 MB / 0.9627 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2181/1.116, allocations: 139.5 MB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/1.117, allocations: 81.34 kB / 1.099 GB, free: 1.277 MB / 0.698 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.02102/1.138, allocations: 4.059 MB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.138, allocations: 16.44 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/1.138, allocations: 29.53 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/1.139, allocations: 256.3 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/1.139, allocations: 4 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/1.139, allocations: 8 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004196/1.139, allocations: 103.9 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/1.14, allocations: 168.9 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.14, allocations: 8.688 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/1.14, allocations: 7.906 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/1.14, allocations: 4 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/1.141, allocations: 0.5172 MB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/1.142, allocations: 139.7 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/1.142, allocations: 56.86 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.774e-05/1.142, allocations: 8.234 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/1.142, allocations: 111.2 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 3.467e-06/1.142, allocations: 4.562 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.000524/1.143, allocations: 149.3 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/1.143, allocations: 106.8 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/1.143, allocations: 167 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/1.143, allocations: 33.7 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/1.143, allocations: 112.3 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/1.143, allocations: 44.11 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/1.143, allocations: 4 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.144, allocations: 330.8 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/1.144, allocations: 51.98 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/1.144, allocations: 80.62 kB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/1.144, allocations: 43.08 kB / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.144, allocations: 0 / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000497/1.145, allocations: 169.3 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/1.145, allocations: 98.91 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.145, allocations: 3.984 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.145, allocations: 0 / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/1.146, allocations: 71.94 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.146, allocations: 0 / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/1.146, allocations: 85.72 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/1.146, allocations: 7.984 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/1.146, allocations: 8 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003678/1.147, allocations: 103.9 kB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.147, allocations: 4.75 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/1.147, allocations: 3.984 kB / 1.106 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/1.147, allocations: 59.95 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/1.147, allocations: 3.672 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/1.148, allocations: 63.89 kB / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/1.148, allocations: 11.89 kB / 1.106 GB, free: 9.848 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.0001499/1.148, allocations: 111.7 kB / 1.106 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/1.148, allocations: 19.81 kB / 1.106 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.774e-05/1.148, allocations: 17.47 kB / 1.106 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/1.148, allocations: 3.984 kB / 1.106 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.148, allocations: 4 kB / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/1.148, allocations: 10.86 kB / 1.106 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/1.149, allocations: 246 kB / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.149, allocations: 0 / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/1.149, allocations: 78.38 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.669e-06/1.15, allocations: 7.891 kB / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/1.15, allocations: 4 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.15, allocations: 4 kB / 1.107 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.15, allocations: 0 / 1.107 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004532/1.15, allocations: 168.2 kB / 1.107 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005771/1.151, allocations: 0.5402 MB / 1.107 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/1.151, allocations: 92.91 kB / 1.107 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.388e-05/1.151, allocations: 7.906 kB / 1.107 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/1.152, allocations: 71.94 kB / 1.107 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.152, allocations: 32.83 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/1.152, allocations: 3.984 kB / 1.108 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001858/1.152, allocations: 140.2 kB / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002124/1.154, allocations: 79.73 kB / 1.108 GB, free: 8.133 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.0001905/1.154, allocations: 105 kB / 1.108 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008045/1.155, allocations: 307.7 kB / 1.108 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/1.155, allocations: 3.938 kB / 1.108 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/1.155, allocations: 71.88 kB / 1.108 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/1.156, allocations: 35.25 kB / 1.108 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009989/1.157, allocations: 237.8 kB / 1.108 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/1.157, allocations: 0.7597 MB / 1.109 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/1.157, allocations: 0 / 1.109 GB, free: 6.551 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)