Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.161/2.161, allocations: 253.1 MB / 260.4 MB, free: 7.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001663/0.001663, allocations: 173.3 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.5704 GB, free: 15.03 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001332/0.001331, allocations: 83.41 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.078e-05/1.08e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2258, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.661/0.8869, allocations: 134.2 MB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/0.8873, allocations: 79.39 kB / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01888/0.9062, allocations: 3.45 MB / 1.023 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.9063, allocations: 4 kB / 1.023 GB, free: 1.215 MB / 0.6355 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.001836/0.9081, allocations: 0.608 MB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.9082, allocations: 12.03 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.9083, allocations: 23.72 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.9088, allocations: 259.5 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.9088, allocations: 7.906 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.9089, allocations: 15.98 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003936/0.9093, allocations: 99.75 kB / 1.024 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.9098, allocations: 169.7 kB / 1.024 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.9098, allocations: 0 / 1.024 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.9099, allocations: 3.984 kB / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.9099, allocations: 4 kB / 1.024 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.9112, allocations: 0.5221 MB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.9118, allocations: 140.8 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.912, allocations: 61.44 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.9121, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.9124, allocations: 109.9 kB / 1.025 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.625e-06/0.9124, allocations: 0 / 1.025 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005205/0.9129, allocations: 150.9 kB / 1.025 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/0.913, allocations: 106.8 kB / 1.025 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.9133, allocations: 168 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.9133, allocations: 37.08 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.9134, allocations: 115.3 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.9135, allocations: 41.33 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.9136, allocations: 4 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.9137, allocations: 329.2 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.9139, allocations: 52.38 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.9142, allocations: 80.91 kB / 1.026 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.9143, allocations: 41.45 kB / 1.026 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9144, allocations: 0 / 1.026 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004917/0.9149, allocations: 171.8 kB / 1.026 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.68e-05/0.915, allocations: 96.89 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.915, allocations: 3.938 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.915, allocations: 0 / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.9157, allocations: 79.12 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.9157, allocations: 0.625 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/0.9165, allocations: 79.78 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.9165, allocations: 7.984 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.9165, allocations: 4 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003653/0.9169, allocations: 106 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-06/0.9169, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-06/0.9169, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.9175, allocations: 67.89 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.9175, allocations: 0 / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006524/0.9181, allocations: 66.84 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.9182, allocations: 3.984 kB / 1.026 GB, free: 13.68 MB / 0.6511 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.0001624/0.9184, allocations: 115.2 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.9184, allocations: 27.66 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/0.9185, allocations: 20.45 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.9186, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.9186, allocations: 4 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.9186, allocations: 4 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.919, allocations: 251.8 kB / 1.027 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.919, allocations: 0 / 1.027 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.9196, allocations: 82.92 kB / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.9196, allocations: 0 / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.9197, allocations: 0 / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.9197, allocations: 4 kB / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9197, allocations: 0 / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004456/0.9201, allocations: 171.1 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.9202, allocations: 92.86 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.9203, allocations: 7.375 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/0.921, allocations: 71.92 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.9212, allocations: 26.2 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.9212, allocations: 4 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001828/0.9214, allocations: 155.6 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005501/0.922, allocations: 72.09 kB / 1.027 GB, free: 12.62 MB / 0.6511 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.000181/0.9222, allocations: 107.2 kB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007436/0.9229, allocations: 311.9 kB / 1.028 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.923, allocations: 0 / 1.028 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.9232, allocations: 64.88 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.9236, allocations: 34.66 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009805/0.9246, allocations: 241.8 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/0.9252, allocations: 0.7558 MB / 1.029 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.9253, allocations: 3.938 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.01241/0.9377, allocations: 4.038 MB / 1.033 GB, free: 7.188 MB / 0.6511 GB