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.BinaryVariableGeneration.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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.381/4.381, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.846e-05, allocations: 2.875 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2273, allocations: 98.74 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2707/0.498, allocations: 123.9 MB / 0.7499 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/0.4984, allocations: 75.95 kB / 0.75 GB, free: 12.98 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.009889/0.5083, allocations: 2.006 MB / 0.7519 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5084, allocations: 3.938 kB / 0.7519 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.5084, allocations: 0 / 0.7519 GB, free: 10.97 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.0005583/0.509, allocations: 388.1 kB / 0.7523 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.5091, allocations: 8.031 kB / 0.7523 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.5091, allocations: 3.953 kB / 0.7523 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.5093, allocations: 163.1 kB / 0.7525 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.5094, allocations: 3.984 kB / 0.7525 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.5094, allocations: 0 / 0.7525 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.315e-05/0.5094, allocations: 4 kB / 0.7525 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/0.5096, allocations: 37.62 kB / 0.7525 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5096, allocations: 0 / 0.7525 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5096, allocations: 3.938 kB / 0.7525 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5096, allocations: 4 kB / 0.7525 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.5099, allocations: 138.2 kB / 0.7527 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.498e-05/0.51, allocations: 30.61 kB / 0.7527 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.51, allocations: 8.859 kB / 0.7527 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.5101, allocations: 0 / 0.7527 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.5103, allocations: 55.5 kB / 0.7528 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.555e-06/0.5103, allocations: 0 / 0.7528 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002835/0.5106, allocations: 61.52 kB / 0.7528 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.5107, allocations: 55.41 kB / 0.7529 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.5108, allocations: 89 kB / 0.753 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.5108, allocations: 25.7 kB / 0.753 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.5109, allocations: 84.14 kB / 0.7531 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.5109, allocations: 7.844 kB / 0.7531 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.511, allocations: 4.125 kB / 0.7531 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5111, allocations: 322.8 kB / 0.7534 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.5112, allocations: 4 kB / 0.7534 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.006e-05/0.5113, allocations: 31.44 kB / 0.7534 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.727e-05/0.5113, allocations: 4 kB / 0.7534 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5114, allocations: 4 kB / 0.7534 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002237/0.5116, allocations: 65.61 kB / 0.7535 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.5116, allocations: 5.25 kB / 0.7535 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5117, allocations: 4 kB / 0.7535 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.5117, allocations: 7.938 kB / 0.7535 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.5118, allocations: 4 kB / 0.7535 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.5119, allocations: 4 kB / 0.7535 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.5119, allocations: 0 / 0.7535 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.512, allocations: 8 kB / 0.7535 GB, free: 9.145 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001183/0.5121, allocations: 113.6 kB / 0.7536 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001775/0.5123, allocations: 65.52 kB / 0.7537 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.5123, allocations: 0 / 0.7537 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.5124, allocations: 4.125 kB / 0.7537 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5124, allocations: 0 / 0.7537 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5124, allocations: 0 / 0.7537 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5124, allocations: 144 / 0.7537 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.5126, allocations: 138.2 kB / 0.7538 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.5127, allocations: 3.984 kB / 0.7538 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.5127, allocations: 4 kB / 0.7538 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.5127, allocations: 4 kB / 0.7538 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.5128, allocations: 0 / 0.7538 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.5128, allocations: 3.984 kB / 0.7538 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.5128, allocations: 0 / 0.7538 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.513, allocations: 81.02 kB / 0.7539 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.5131, allocations: 81.02 kB / 0.754 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.5132, allocations: 7.984 kB / 0.754 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.5132, allocations: 4 kB / 0.754 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.5133, allocations: 7.938 kB / 0.754 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.5133, allocations: 0 / 0.754 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.26e-05/0.5134, allocations: 79.28 kB / 0.7541 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.61e-07/0.5134, allocations: 3.938 kB / 0.7541 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007428/0.5142, allocations: 31.98 kB / 0.7541 GB, free: 8.438 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.001334/0.5155, allocations: 0.705 MB / 0.7548 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.5158, allocations: 23.92 kB / 0.7548 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.5158, allocations: 4 kB / 0.7548 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.744e-05/0.5159, allocations: 4 kB / 0.7548 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.5162, allocations: 8.188 kB / 0.7548 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/0.517, allocations: 113.5 kB / 0.755 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.5175, allocations: 0.6807 MB / 0.7556 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.5175, allocations: 0 / 0.7556 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.5176, allocations: 19.42 kB / 0.7556 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.5176, allocations: 0 / 0.7556 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04161/0.5593, allocations: 1.501 MB / 0.7571 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/0.5596, allocations: 192.2 kB / 0.7573 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.204, allocations: 4.031 kB / 0.7573 GB, free: 5.102 MB / 0.6355 GB