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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.379/1.379, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009629/0.0009629, allocations: 173.4 kB / 361.1 MB, free: 7.094 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.208/1.208, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0007935/0.0007936, allocations: 92.25 kB / 0.7325 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2243/0.2251, allocations: 121.5 MB / 0.8512 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5226/0.7478, allocations: 115.3 MB / 0.9638 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.9004, allocations: 139.8 MB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.9006, allocations: 81.62 kB / 1.1 GB, free: 204 kB / 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.01178/0.9124, allocations: 4.06 MB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.9125, allocations: 12.48 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.9126, allocations: 27.72 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.9129, allocations: 259.6 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.9129, allocations: 10.45 kB / 1.105 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.9129, allocations: 8 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002206/0.9132, allocations: 101.7 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.9134, allocations: 168.9 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.9135, allocations: 0.7031 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.9135, allocations: 3.906 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.9135, allocations: 8 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.9143, allocations: 0.517 MB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.9146, allocations: 142.7 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.9147, allocations: 65.09 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.9147, allocations: 0.6562 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.9149, allocations: 119.2 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.9149, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002984/0.9152, allocations: 137.4 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.9153, allocations: 118.8 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.9155, allocations: 171 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.9155, allocations: 29.69 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.9155, allocations: 112.3 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.9156, allocations: 47.36 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.9156, allocations: 0.5625 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.9157, allocations: 330.8 kB / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.9158, allocations: 48 kB / 1.107 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.916, allocations: 86.56 kB / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.657e-05/0.916, allocations: 43.77 kB / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9161, allocations: 0 / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000273/0.9163, allocations: 169.1 kB / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.9164, allocations: 93 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.9164, allocations: 0 / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.9164, allocations: 7.969 kB / 1.107 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.9168, allocations: 75.94 kB / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.9168, allocations: 0 / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.9171, allocations: 88.84 kB / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.9172, allocations: 4.875 kB / 1.107 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/0.9172, allocations: 6.188 kB / 1.107 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002009/0.9174, allocations: 102.2 kB / 1.107 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-06/0.9174, allocations: 7.906 kB / 1.107 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-06/0.9174, allocations: 0 / 1.107 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.9177, allocations: 59.89 kB / 1.107 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.9177, allocations: 4 kB / 1.107 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.918, allocations: 67.88 kB / 1.107 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.918, allocations: 11.64 kB / 1.107 GB, free: 8.773 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 8.226e-05/0.9181, allocations: 105 kB / 1.108 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.9181, allocations: 15.81 kB / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.9182, allocations: 21.45 kB / 1.108 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9182, allocations: 4 kB / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9182, allocations: 0 / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.9182, allocations: 4.797 kB / 1.108 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.9184, allocations: 254 kB / 1.108 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9184, allocations: 3.938 kB / 1.108 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.9187, allocations: 73 kB / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.9188, allocations: 7.906 kB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.9188, allocations: 8 kB / 1.108 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.9188, allocations: 0 / 1.108 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.9188, allocations: 0 / 1.108 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002574/0.9191, allocations: 163.9 kB / 1.108 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003261/0.9194, allocations: 0.5479 MB / 1.109 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.9194, allocations: 92.92 kB / 1.109 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.9195, allocations: 5.344 kB / 1.109 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.9199, allocations: 79.92 kB / 1.109 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.92, allocations: 27.89 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.92, allocations: 4 kB / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001048/0.9201, allocations: 141.5 kB / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001414/0.9215, allocations: 75.75 kB / 1.109 GB, free: 7.062 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.0001236/0.9216, allocations: 103.8 kB / 1.109 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.9221, allocations: 312.2 kB / 1.109 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9221, allocations: 3.938 kB / 1.109 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.9222, allocations: 71.94 kB / 1.11 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.9225, allocations: 29 kB / 1.11 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.9231, allocations: 246 kB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.9234, allocations: 0.7682 MB / 1.111 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9235, allocations: 0 / 1.111 GB, free: 5.465 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)