Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.247/4.247, allocations: 432.8 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.139e-05/5.148e-05, allocations: 3.391 kB / 0.5338 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2365, allocations: 98.73 MB / 0.6302 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/0.4751, allocations: 126.6 MB / 0.7538 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.4755, allocations: 79.95 kB / 0.7539 GB, free: 7.281 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.0152/0.4907, allocations: 3.055 MB / 0.7569 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4908, allocations: 0 / 0.7569 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.4908, allocations: 0 / 0.7569 GB, free: 4.223 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008725/0.4917, allocations: 465.6 kB / 0.7573 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4917, allocations: 12.03 kB / 0.7574 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.4918, allocations: 34.56 kB / 0.7574 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.4919, allocations: 15.86 kB / 0.7574 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.492, allocations: 174.9 kB / 0.7576 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-05/0.4922, allocations: 37.64 kB / 0.7576 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.4922, allocations: 4 kB / 0.7576 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.4924, allocations: 69.66 kB / 0.7577 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4924, allocations: 3.984 kB / 0.7577 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.4924, allocations: 4 kB / 0.7577 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4925, allocations: 0 / 0.7577 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.4926, allocations: 43.94 kB / 0.7577 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008339/0.4935, allocations: 336.7 kB / 0.758 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.4937, allocations: 58.56 kB / 0.7581 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.001e-05/0.4938, allocations: 28.86 kB / 0.7581 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.4938, allocations: 7.984 kB / 0.7581 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.494, allocations: 83.41 kB / 0.7582 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.605e-06/0.4941, allocations: 0 / 0.7582 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003755/0.4944, allocations: 117.5 kB / 0.7583 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.4945, allocations: 55.41 kB / 0.7584 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.4947, allocations: 125.2 kB / 0.7585 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.4947, allocations: 29.7 kB / 0.7585 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.4948, allocations: 104.2 kB / 0.7586 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.4948, allocations: 23.89 kB / 0.7587 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.4949, allocations: 0 / 0.7587 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.495, allocations: 318.8 kB / 0.759 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.4951, allocations: 24 kB / 0.759 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.4952, allocations: 61.14 kB / 0.759 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.697e-05/0.4953, allocations: 27.98 kB / 0.7591 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4953, allocations: 0 / 0.7591 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002906/0.4956, allocations: 113.5 kB / 0.7592 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4957, allocations: 8.031 kB / 0.7592 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.4957, allocations: 4 kB / 0.7592 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.4957, allocations: 3.953 kB / 0.7592 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.496, allocations: 19.98 kB / 0.7592 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.496, allocations: 3.938 kB / 0.7592 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.4962, allocations: 23.89 kB / 0.7592 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.4962, allocations: 4 kB / 0.7592 GB, free: 1.559 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,lig.occ,$PRE.occ.pulsStart,occ.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001125/0.4964, allocations: 114.9 kB / 0.7593 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.4964, allocations: 11.89 kB / 0.7594 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.4965, allocations: 8.625 kB / 0.7594 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4965, allocations: 7.953 kB / 0.7594 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4965, allocations: 0 / 0.7594 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4965, allocations: 0 / 0.7594 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008227/0.4973, allocations: 406.5 kB / 0.7598 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4974, allocations: 0 / 0.7598 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.4975, allocations: 15.92 kB / 0.7598 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.4975, allocations: 4.047 kB / 0.7598 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.4975, allocations: 4 kB / 0.7598 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4976, allocations: 0 / 0.7598 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.4976, allocations: 3.984 kB / 0.7598 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.4979, allocations: 215.5 kB / 0.76 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.498, allocations: 92.94 kB / 0.7601 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.498, allocations: 7.953 kB / 0.7601 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.4983, allocations: 11.98 kB / 0.7601 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.4983, allocations: 7.984 kB / 0.7601 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.4984, allocations: 11.94 kB / 0.7601 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.818e-05/0.4985, allocations: 99.27 kB / 0.7602 GB, free: 468 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4985, allocations: 0 / 0.7602 GB, free: 468 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004939/0.499, allocations: 55.98 kB / 0.7603 GB, free: 412 kB / 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: 8 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulsStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.001054/0.5001, allocations: 0.8273 MB / 0.7611 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.5004, allocations: 71.86 kB / 0.7611 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5004, allocations: 4 kB / 0.7611 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.5005, allocations: 32 kB / 0.7612 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.5008, allocations: 15.94 kB / 0.7612 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007536/0.5016, allocations: 188.8 kB / 0.7614 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.5019, allocations: 0.6969 MB / 0.7621 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.521e-05/0.502, allocations: 8.656 kB / 0.7621 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.5021, allocations: 23.42 kB / 0.7621 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/0.5021, allocations: 0 / 0.7621 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.5257, allocations: 2.917 MB / 0.7649 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003375/0.5261, allocations: 209.3 kB / 0.7651 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/2.904, allocations: 0 / 0.7651 GB, free: 11.4 MB / 0.6511 GB