Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.339/4.339, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.174e-05, allocations: 4.672 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2211, allocations: 98.74 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.4494, allocations: 124.7 MB / 0.7565 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.4497, allocations: 75.95 kB / 0.7565 GB, free: 4.977 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009797/0.4596, allocations: 2.139 MB / 0.7586 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4596, allocations: 0 / 0.7586 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.4596, allocations: 0 / 0.7586 GB, free: 2.832 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000472/0.4601, allocations: 384.1 kB / 0.759 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.4602, allocations: 8.031 kB / 0.759 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.4602, allocations: 34.56 kB / 0.759 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.4603, allocations: 7.953 kB / 0.759 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.4604, allocations: 171 kB / 0.7592 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.4605, allocations: 7.938 kB / 0.7592 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.4605, allocations: 0 / 0.7592 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.4606, allocations: 41.69 kB / 0.7592 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4606, allocations: 0 / 0.7592 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4607, allocations: 0 / 0.7592 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.4607, allocations: 0 / 0.7592 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.4607, allocations: 11.92 kB / 0.7593 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.4611, allocations: 252.9 kB / 0.7595 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.4612, allocations: 34.56 kB / 0.7595 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.4613, allocations: 16.86 kB / 0.7595 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.4613, allocations: 0 / 0.7595 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.4615, allocations: 63.44 kB / 0.7596 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 4.729e-06/0.4615, allocations: 0 / 0.7596 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002169/0.4617, allocations: 73.56 kB / 0.7597 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4618, allocations: 51.41 kB / 0.7597 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.4618, allocations: 89 kB / 0.7598 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4619, allocations: 29.7 kB / 0.7598 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.4619, allocations: 84.14 kB / 0.7599 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.462, allocations: 19.73 kB / 0.7599 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.462, allocations: 0 / 0.7599 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4621, allocations: 318.8 kB / 0.7602 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.4622, allocations: 8 kB / 0.7602 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.4622, allocations: 41.23 kB / 0.7603 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.67e-05/0.4623, allocations: 11.98 kB / 0.7603 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.4623, allocations: 0 / 0.7603 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001558/0.4625, allocations: 77.61 kB / 0.7604 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4625, allocations: 4 kB / 0.7604 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4625, allocations: 0 / 0.7604 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.4625, allocations: 4 kB / 0.7604 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.4626, allocations: 7.938 kB / 0.7604 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.4627, allocations: 7.953 kB / 0.7604 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.4627, allocations: 3.906 kB / 0.7604 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.4627, allocations: 8 kB / 0.7604 GB, free: 0.7578 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 7.971e-05/0.4628, allocations: 105 kB / 0.7605 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.4629, allocations: 8.047 kB / 0.7605 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.4629, allocations: 7.562 kB / 0.7605 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4629, allocations: 0 / 0.7605 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4629, allocations: 4 kB / 0.7605 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4629, allocations: 8.172 kB / 0.7605 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.4633, allocations: 290.6 kB / 0.7608 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4633, allocations: 128 / 0.7608 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.4633, allocations: 12 kB / 0.7608 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.4634, allocations: 3.984 kB / 0.7608 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4634, allocations: 4 kB / 0.7608 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4634, allocations: 4.156 kB / 0.7608 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4634, allocations: 3.953 kB / 0.7608 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.4636, allocations: 159.4 kB / 0.761 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.4637, allocations: 77.11 kB / 0.7611 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.4637, allocations: 4 kB / 0.7611 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.4638, allocations: 3.938 kB / 0.7611 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.4638, allocations: 7.953 kB / 0.7611 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.4639, allocations: 15.92 kB / 0.7611 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.4639, allocations: 75.28 kB / 0.7612 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4639, allocations: 0 / 0.7612 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004283/0.4644, allocations: 43.94 kB / 0.7612 GB, free: 15.84 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009165/0.4653, allocations: 0.78 MB / 0.762 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.4655, allocations: 36.05 kB / 0.762 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4655, allocations: 0 / 0.762 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.364e-05/0.4655, allocations: 19.94 kB / 0.762 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.4657, allocations: 4 kB / 0.762 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.4662, allocations: 130.5 kB / 0.7622 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.4667, allocations: 0.6889 MB / 0.7628 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.4667, allocations: 3.906 kB / 0.7628 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.4667, allocations: 11.44 kB / 0.7628 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.011e-06/0.4668, allocations: 0 / 0.7628 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.4864, allocations: 1.954 MB / 0.7647 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003282/0.4868, allocations: 190.7 kB / 0.7649 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/2.934, allocations: 3.938 kB / 0.7649 GB, free: 11.98 MB / 0.6511 GB