Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.005/4.005, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6154/4.621, allocations: 104.3 MB / 0.5319 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/4.861, allocations: 98.72 MB / 0.6283 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/5.096, allocations: 125.7 MB / 0.7511 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/5.096, allocations: 83.58 kB / 0.7512 GB, free: 11.84 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.01943/5.116, allocations: 3.643 MB / 0.7547 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/5.116, allocations: 8 kB / 0.7547 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/5.116, allocations: 23.72 kB / 0.7547 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/5.117, allocations: 254.4 kB / 0.755 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/5.117, allocations: 4 kB / 0.755 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/5.117, allocations: 8 kB / 0.755 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003952/5.117, allocations: 100.4 kB / 0.7551 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/5.118, allocations: 166 kB / 0.7553 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/5.118, allocations: 0 / 0.7553 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/5.118, allocations: 3.906 kB / 0.7553 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/5.118, allocations: 4 kB / 0.7553 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/5.119, allocations: 0.513 MB / 0.7558 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/5.119, allocations: 138.7 kB / 0.7559 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/5.12, allocations: 60.86 kB / 0.756 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/5.12, allocations: 0 / 0.756 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/5.12, allocations: 111.4 kB / 0.7561 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.394e-06/5.12, allocations: 0 / 0.7561 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005686/5.121, allocations: 149.3 kB / 0.7562 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/5.121, allocations: 106.8 kB / 0.7563 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/5.121, allocations: 165.9 kB / 0.7565 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/5.121, allocations: 33.7 kB / 0.7565 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/5.121, allocations: 112.3 kB / 0.7566 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/5.121, allocations: 39.45 kB / 0.7566 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/5.121, allocations: 4 kB / 0.7566 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001467/5.121, allocations: 326.8 kB / 0.757 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/5.122, allocations: 48 kB / 0.757 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/5.122, allocations: 86.47 kB / 0.7571 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/5.122, allocations: 48.09 kB / 0.7571 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/5.122, allocations: 0 / 0.7571 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000579/5.123, allocations: 157.5 kB / 0.7573 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/5.123, allocations: 104.9 kB / 0.7574 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/5.123, allocations: 0 / 0.7574 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/5.123, allocations: 0 / 0.7574 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/5.124, allocations: 83.86 kB / 0.7575 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/5.124, allocations: 0 / 0.7575 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007485/5.124, allocations: 87.78 kB / 0.7575 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/5.124, allocations: 7.984 kB / 0.7576 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/5.124, allocations: 4 kB / 0.7576 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004187/5.125, allocations: 103.9 kB / 0.7577 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/5.125, allocations: 7.875 kB / 0.7577 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/5.125, allocations: 0 / 0.7577 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/5.125, allocations: 67.88 kB / 0.7577 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/5.125, allocations: 0 / 0.7577 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/5.126, allocations: 63.86 kB / 0.7578 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/5.126, allocations: 4 kB / 0.7578 GB, free: 4.781 MB / 0.6355 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.0001637/5.126, allocations: 108.6 kB / 0.7579 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/5.126, allocations: 19.8 kB / 0.7579 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/5.126, allocations: 29.38 kB / 0.7579 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/5.126, allocations: 0 / 0.7579 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/5.126, allocations: 0 / 0.7579 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/5.126, allocations: 0 / 0.7579 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/5.127, allocations: 253.9 kB / 0.7582 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/5.127, allocations: 0 / 0.7582 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/5.128, allocations: 79.88 kB / 0.7583 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/5.128, allocations: 0 / 0.7583 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/5.128, allocations: 4 kB / 0.7583 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/5.128, allocations: 0 / 0.7583 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/5.128, allocations: 0 / 0.7583 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000468/5.128, allocations: 172.9 kB / 0.7584 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000587/5.129, allocations: 0.5441 MB / 0.759 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/5.129, allocations: 88.92 kB / 0.759 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/5.129, allocations: 11.89 kB / 0.7591 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007196/5.13, allocations: 67.94 kB / 0.7591 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/5.13, allocations: 31.95 kB / 0.7592 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/5.13, allocations: 4 kB / 0.7592 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001873/5.13, allocations: 140.2 kB / 0.7593 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002133/5.132, allocations: 75.72 kB / 0.7594 GB, free: 3.07 MB / 0.6355 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.0002556/5.132, allocations: 115.5 kB / 0.7595 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008087/5.133, allocations: 306.7 kB / 0.7598 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/5.133, allocations: 0 / 0.7598 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/5.134, allocations: 63.94 kB / 0.7598 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/5.134, allocations: 31.83 kB / 0.7599 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/5.135, allocations: 236.2 kB / 0.7601 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/5.136, allocations: 0.759 MB / 0.7608 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/5.136, allocations: 0 / 0.7608 GB, free: 1.5 MB / 0.6355 GB