Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.241/1.241, allocations: 249.4 MB / 256.7 MB, free: 0.6445 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009692/0.0009691, allocations: 185.2 kB / 316 MB, free: 8.852 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.1 MB / 0.5667 GB, free: 13.43 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009533/0.0009534, allocations: 94 kB / 0.671 GB, free: 51.56 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2269/0.2279, allocations: 112.5 MB / 0.7808 GB, free: 9.852 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5925/0.8204, allocations: 106.3 MB / 0.8847 GB, free: 89.07 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.9855, allocations: 133.5 MB / 1.015 GB, free: 12.13 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.9858, allocations: 86.28 kB / 1.015 GB, free: 12.05 MB / 0.659 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.01155/0.9973, allocations: 4.054 MB / 1.019 GB, free: 8.008 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.9974, allocations: 8 kB / 1.019 GB, free: 8 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.9974, allocations: 31.7 kB / 1.019 GB, free: 7.969 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.9978, allocations: 267.5 kB / 1.019 GB, free: 7.664 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.9978, allocations: 4.844 kB / 1.019 GB, free: 7.66 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.9978, allocations: 8 kB / 1.019 GB, free: 7.652 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000226/0.9981, allocations: 99.98 kB / 1.02 GB, free: 7.555 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.9983, allocations: 163.1 kB / 1.02 GB, free: 7.383 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.9984, allocations: 3.828 kB / 1.02 GB, free: 7.383 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.9984, allocations: 4 kB / 1.02 GB, free: 7.379 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.9984, allocations: 8 kB / 1.02 GB, free: 7.371 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.9992, allocations: 0.5201 MB / 1.02 GB, free: 6.812 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.9996, allocations: 139.8 kB / 1.02 GB, free: 6.668 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.9997, allocations: 65.03 kB / 1.02 GB, free: 6.602 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.9997, allocations: 0 / 1.02 GB, free: 6.602 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.9999, allocations: 111.4 kB / 1.02 GB, free: 6.48 MB / 0.659 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.9999, allocations: 0 / 1.02 GB, free: 6.48 MB / 0.659 GB Notification: Performance of matching and sorting (n=15): time 0.0003042/1, allocations: 145.3 kB / 1.021 GB, free: 6.332 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/1, allocations: 106.8 kB / 1.021 GB, free: 6.203 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/1, allocations: 171 kB / 1.021 GB, free: 6.031 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/1, allocations: 41.62 kB / 1.021 GB, free: 5.984 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/1.001, allocations: 108.3 kB / 1.021 GB, free: 5.875 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/1.001, allocations: 39.45 kB / 1.021 GB, free: 5.836 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/1.001, allocations: 0 / 1.021 GB, free: 5.836 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.001, allocations: 334.7 kB / 1.021 GB, free: 5.5 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-05/1.001, allocations: 48 kB / 1.021 GB, free: 5.453 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/1.001, allocations: 91.05 kB / 1.022 GB, free: 5.359 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/1.001, allocations: 41.19 kB / 1.022 GB, free: 5.32 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.001, allocations: 0 / 1.022 GB, free: 5.32 MB / 0.659 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002707/1.001, allocations: 168.3 kB / 1.022 GB, free: 5.152 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/1.001, allocations: 92.91 kB / 1.022 GB, free: 5.055 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/1.001, allocations: 4 kB / 1.022 GB, free: 5.051 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/1.001, allocations: 4.031 kB / 1.022 GB, free: 5.047 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/1.002, allocations: 77.3 kB / 1.022 GB, free: 4.973 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.002, allocations: 1.953 kB / 1.022 GB, free: 4.973 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/1.002, allocations: 89.08 kB / 1.022 GB, free: 4.887 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/1.002, allocations: 4 kB / 1.022 GB, free: 4.883 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-06/1.002, allocations: 4 kB / 1.022 GB, free: 4.879 MB / 0.659 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001939/1.002, allocations: 103.9 kB / 1.022 GB, free: 4.777 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/1.002, allocations: 4.75 kB / 1.022 GB, free: 4.773 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-06/1.002, allocations: 0 / 1.022 GB, free: 4.773 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/1.003, allocations: 63.89 kB / 1.022 GB, free: 4.711 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-06/1.003, allocations: 3.938 kB / 1.022 GB, free: 4.707 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/1.003, allocations: 67.84 kB / 1.022 GB, free: 4.641 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/1.003, allocations: 4 kB / 1.022 GB, free: 4.637 MB / 0.659 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.678e-05/1.003, allocations: 105 kB / 1.022 GB, free: 4.527 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/1.003, allocations: 19.72 kB / 1.022 GB, free: 4.508 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/1.003, allocations: 21.45 kB / 1.022 GB, free: 4.488 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.003, allocations: 8.594 kB / 1.022 GB, free: 4.484 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.003, allocations: 0 / 1.022 GB, free: 4.484 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.003, allocations: 0 / 1.022 GB, free: 4.484 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/1.003, allocations: 257.9 kB / 1.023 GB, free: 4.195 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.003, allocations: 4 kB / 1.023 GB, free: 4.191 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/1.004, allocations: 71.88 kB / 1.023 GB, free: 4.121 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.004, allocations: 4 kB / 1.023 GB, free: 4.117 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/1.004, allocations: 8 kB / 1.023 GB, free: 4.109 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.004, allocations: 0 / 1.023 GB, free: 4.109 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.004, allocations: 0 / 1.023 GB, free: 4.109 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002411/1.004, allocations: 172.3 kB / 1.023 GB, free: 3.926 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003315/1.004, allocations: 0.544 MB / 1.023 GB, free: 3.359 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/1.004, allocations: 92.92 kB / 1.023 GB, free: 3.25 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/1.005, allocations: 2.25 kB / 1.023 GB, free: 3.25 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/1.005, allocations: 79.92 kB / 1.024 GB, free: 3.172 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/1.005, allocations: 27.89 kB / 1.024 GB, free: 3.145 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/1.005, allocations: 6.875 kB / 1.024 GB, free: 3.141 MB / 0.659 GB Notification: Performance of sort global known variables: time 0.0001042/1.005, allocations: 149.5 kB / 1.024 GB, free: 2.996 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.001388/1.007, allocations: 71.75 kB / 1.024 GB, free: 2.926 MB / 0.659 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.0001312/1.007, allocations: 103.5 kB / 1.024 GB, free: 2.816 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0004085/1.007, allocations: 307.7 kB / 1.024 GB, free: 2.492 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.007, allocations: 4 kB / 1.024 GB, free: 2.488 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/1.007, allocations: 71.88 kB / 1.024 GB, free: 2.418 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/1.007, allocations: 33 kB / 1.024 GB, free: 2.387 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/1.008, allocations: 239.7 kB / 1.025 GB, free: 2.125 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/1.008, allocations: 0.7636 MB / 1.025 GB, free: 1.336 MB / 0.659 GB Notification: Performance of SimCode: time 2.21e-07/1.008, allocations: 0 / 1.025 GB, free: 1.336 MB / 0.659 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)