Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.412/4.412, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.452e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2327, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8951/1.128, allocations: 133.6 MB / 0.8024 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/1.128, allocations: 81.19 kB / 0.8025 GB, free: 13.13 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.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.01331/1.142, allocations: 3.107 MB / 0.8055 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/1.142, allocations: 0 / 0.8055 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.696e-06/1.142, allocations: 0 / 0.8055 GB, free: 12.65 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.0007351/1.142, allocations: 470 kB / 0.8059 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.142, allocations: 11.53 kB / 0.806 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/1.142, allocations: 37.84 kB / 0.806 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/1.142, allocations: 11.67 kB / 0.806 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/1.143, allocations: 182.5 kB / 0.8062 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.16e-05/1.143, allocations: 33.42 kB / 0.8062 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/1.143, allocations: 3.906 kB / 0.8062 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/1.143, allocations: 71.95 kB / 0.8063 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.143, allocations: 0 / 0.8063 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/1.143, allocations: 4 kB / 0.8063 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.143, allocations: 0 / 0.8063 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/1.143, allocations: 39.97 kB / 0.8063 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/1.144, allocations: 330.5 kB / 0.8066 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/1.144, allocations: 54.62 kB / 0.8067 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.951e-05/1.144, allocations: 33.52 kB / 0.8067 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/1.144, allocations: 0 / 0.8067 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/1.144, allocations: 91.12 kB / 0.8068 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/1.144, allocations: 0 / 0.8068 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003218/1.145, allocations: 115.2 kB / 0.8069 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/1.145, allocations: 58.55 kB / 0.807 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/1.145, allocations: 121.2 kB / 0.8071 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.145, allocations: 29.39 kB / 0.8071 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/1.145, allocations: 97.67 kB / 0.8072 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/1.145, allocations: 23.47 kB / 0.8072 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/1.145, allocations: 3.812 kB / 0.8072 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/1.145, allocations: 320.9 kB / 0.8075 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/1.145, allocations: 21.81 kB / 0.8076 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.172e-05/1.145, allocations: 61.59 kB / 0.8076 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.359e-05/1.145, allocations: 27.81 kB / 0.8077 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.145, allocations: 0 / 0.8077 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002441/1.146, allocations: 121 kB / 0.8078 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.146, allocations: 6.906 kB / 0.8078 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.146, allocations: 7.922 kB / 0.8078 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.146, allocations: 0 / 0.8078 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/1.146, allocations: 18.67 kB / 0.8078 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.146, allocations: 3.875 kB / 0.8078 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/1.146, allocations: 29.53 kB / 0.8078 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/1.146, allocations: 10.28 kB / 0.8078 GB, free: 10.75 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.pulseStart,occ.pulseStart) * 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 7.307e-05/1.146, allocations: 108.1 kB / 0.8079 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/1.146, allocations: 7.75 kB / 0.808 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/1.146, allocations: 14.64 kB / 0.808 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.146, allocations: 11.77 kB / 0.808 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.146, allocations: 0 / 0.808 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.146, allocations: 0 / 0.808 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/1.147, allocations: 413 kB / 0.8084 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.147, allocations: 3.906 kB / 0.8084 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/1.147, allocations: 10.75 kB / 0.8084 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.147, allocations: 3.875 kB / 0.8084 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/1.147, allocations: 0 / 0.8084 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.147, allocations: 2.625 kB / 0.8084 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.147, allocations: 0 / 0.8084 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/1.147, allocations: 211.4 kB / 0.8086 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/1.148, allocations: 84.95 kB / 0.8087 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/1.148, allocations: 14.12 kB / 0.8087 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/1.148, allocations: 10.59 kB / 0.8087 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/1.148, allocations: 13.27 kB / 0.8087 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/1.148, allocations: 3.812 kB / 0.8087 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.584e-05/1.148, allocations: 104.3 kB / 0.8088 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.148, allocations: 0 / 0.8088 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004912/1.148, allocations: 60 kB / 0.8089 GB, free: 9.977 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: 8 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * 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.001192/1.15, allocations: 0.8039 MB / 0.8097 GB, free: 25.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002722/1.15, allocations: 67.06 kB / 0.8097 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.15, allocations: 0 / 0.8097 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/1.15, allocations: 35.67 kB / 0.8098 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/1.15, allocations: 21.16 kB / 0.8098 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/1.151, allocations: 185.4 kB / 0.81 GB, free: 25.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.152, allocations: 0.6989 MB / 0.8106 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.442e-05/1.152, allocations: 14.88 kB / 0.8106 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/1.152, allocations: 31.08 kB / 0.8107 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/1.152, allocations: 0 / 0.8107 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09622/1.248, allocations: 2.91 MB / 0.8135 GB, free: 24.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/1.248, allocations: 211.1 kB / 0.8137 GB, free: 23.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.68, allocations: 3.938 kB / 0.8137 GB, free: 23.86 MB / 0.6511 GB