Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.187/4.187, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.378e-05/4.404e-05, allocations: 3.922 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2341, allocations: 98.72 MB / 0.6302 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2378/0.4719, allocations: 126.8 MB / 0.754 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.4723, allocations: 75.95 kB / 0.7541 GB, free: 7.105 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.01558/0.4879, allocations: 3.23 MB / 0.7572 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.488, allocations: 3.938 kB / 0.7572 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.488, allocations: 0 / 0.7572 GB, free: 3.863 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000879/0.4889, allocations: 0.4918 MB / 0.7577 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4889, allocations: 8.031 kB / 0.7577 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.85e-05/0.489, allocations: 30.56 kB / 0.7577 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.4891, allocations: 15.86 kB / 0.7577 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.4892, allocations: 180.4 kB / 0.7579 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.4893, allocations: 8 kB / 0.7579 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.4893, allocations: 4 kB / 0.7579 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.4895, allocations: 69.66 kB / 0.758 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4896, allocations: 4 kB / 0.758 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.4896, allocations: 7.984 kB / 0.758 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.4896, allocations: 7.953 kB / 0.758 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.4898, allocations: 43.91 kB / 0.7581 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/0.4905, allocations: 332.8 kB / 0.7584 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.4908, allocations: 78.67 kB / 0.7584 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.4909, allocations: 32.86 kB / 0.7585 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.491, allocations: 3.938 kB / 0.7585 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.4912, allocations: 107.2 kB / 0.7586 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.4913, allocations: 0 / 0.7586 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004047/0.4917, allocations: 125.5 kB / 0.7587 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.4917, allocations: 59.41 kB / 0.7588 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.4919, allocations: 131.3 kB / 0.7589 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.492, allocations: 29.7 kB / 0.7589 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.599e-05/0.492, allocations: 96.12 kB / 0.759 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.4921, allocations: 27.77 kB / 0.759 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.4921, allocations: 0 / 0.759 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4923, allocations: 330.8 kB / 0.7594 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.4924, allocations: 20 kB / 0.7594 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.4926, allocations: 73.02 kB / 0.7594 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.4927, allocations: 27.98 kB / 0.7595 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4927, allocations: 0 / 0.7595 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003352/0.493, allocations: 133.4 kB / 0.7596 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.4931, allocations: 8 kB / 0.7596 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4931, allocations: 0 / 0.7596 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4931, allocations: 4 kB / 0.7596 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.4933, allocations: 15.98 kB / 0.7596 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.4934, allocations: 4 kB / 0.7596 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.4936, allocations: 23.86 kB / 0.7596 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.4936, allocations: 4 kB / 0.7597 GB, free: 1.109 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001179/0.4937, allocations: 120.3 kB / 0.7598 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.4938, allocations: 15.77 kB / 0.7598 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.4943, allocations: 158.4 kB / 0.7599 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4943, allocations: 3.984 kB / 0.7599 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4943, allocations: 4 kB / 0.7599 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4943, allocations: 3.984 kB / 0.7599 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/0.4952, allocations: 446.4 kB / 0.7604 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4952, allocations: 0 / 0.7604 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.4954, allocations: 15.98 kB / 0.7604 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.4954, allocations: 0 / 0.7604 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.4955, allocations: 8 kB / 0.7604 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.4955, allocations: 0 / 0.7604 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.4955, allocations: 3.938 kB / 0.7604 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.4959, allocations: 243.3 kB / 0.7606 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.496, allocations: 88.97 kB / 0.7607 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.4961, allocations: 4 kB / 0.7607 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.4963, allocations: 11.98 kB / 0.7607 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.4964, allocations: 7.984 kB / 0.7607 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.4964, allocations: 8 kB / 0.7607 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001333/0.4965, allocations: 109.7 kB / 0.7608 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.404e-06/0.4966, allocations: 4 kB / 0.7609 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005058/0.4971, allocations: 59.86 kB / 0.7609 GB, free: 15.72 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: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulsStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001131/0.4982, allocations: 0.8487 MB / 0.7617 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.4986, allocations: 83.92 kB / 0.7618 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4986, allocations: 0 / 0.7618 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.4987, allocations: 51.92 kB / 0.7619 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.4991, allocations: 15.98 kB / 0.7619 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008089/0.4999, allocations: 208 kB / 0.7621 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.5003, allocations: 0.7043 MB / 0.7628 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.704e-05/0.5004, allocations: 8.547 kB / 0.7628 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.5005, allocations: 39.36 kB / 0.7628 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/0.5005, allocations: 0 / 0.7628 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.5243, allocations: 3.273 MB / 0.766 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/0.5247, allocations: 203.3 kB / 0.7662 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/2.978, allocations: 4 kB / 0.7662 GB, free: 10.27 MB / 0.6511 GB