Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.606/4.606, allocations: 460.4 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.759e-05/3.75e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9377/1.186, allocations: 133.6 MB / 0.8024 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.187, allocations: 82.19 kB / 0.8025 GB, free: 12.74 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.01386/1.201, allocations: 3.126 MB / 0.8055 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/1.201, allocations: 7.812 kB / 0.8056 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.201, allocations: 0 / 0.8056 GB, free: 12.27 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.0007072/1.201, allocations: 455.1 kB / 0.806 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.201, allocations: 11.66 kB / 0.806 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/1.202, allocations: 33.52 kB / 0.806 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/1.202, allocations: 11.52 kB / 0.806 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/1.202, allocations: 182.3 kB / 0.8062 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.202, allocations: 0 / 0.8062 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/1.202, allocations: 3.906 kB / 0.8062 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/1.202, allocations: 78.45 kB / 0.8063 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.202, allocations: 0 / 0.8063 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/1.202, allocations: 0 / 0.8063 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.202, allocations: 6.469 kB / 0.8063 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/1.202, allocations: 36.5 kB / 0.8063 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/1.203, allocations: 331.5 kB / 0.8067 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/1.203, allocations: 54.33 kB / 0.8067 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/1.203, allocations: 31.14 kB / 0.8067 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/1.203, allocations: 2.953 kB / 0.8067 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/1.203, allocations: 92.42 kB / 0.8068 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.575e-06/1.203, allocations: 0 / 0.8068 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003289/1.204, allocations: 118.7 kB / 0.8069 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/1.204, allocations: 55.25 kB / 0.807 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/1.204, allocations: 119.7 kB / 0.8071 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.204, allocations: 32.92 kB / 0.8071 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/1.204, allocations: 86.92 kB / 0.8072 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/1.204, allocations: 29.52 kB / 0.8072 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/1.204, allocations: 2.938 kB / 0.8073 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/1.204, allocations: 322.4 kB / 0.8076 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/1.204, allocations: 21.19 kB / 0.8076 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/1.204, allocations: 56.39 kB / 0.8076 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.705e-05/1.204, allocations: 31.31 kB / 0.8077 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.204, allocations: 0 / 0.8077 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002469/1.205, allocations: 117.9 kB / 0.8078 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.205, allocations: 3.844 kB / 0.8078 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.205, allocations: 0 / 0.8078 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.205, allocations: 7.797 kB / 0.8078 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/1.205, allocations: 26.75 kB / 0.8078 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.205, allocations: 6.734 kB / 0.8078 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/1.205, allocations: 13.8 kB / 0.8078 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/1.205, allocations: 3.844 kB / 0.8078 GB, free: 10.41 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.157e-05/1.205, allocations: 108.8 kB / 0.8079 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/1.205, allocations: 7.844 kB / 0.8079 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/1.206, allocations: 151.2 kB / 0.8081 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.206, allocations: 0 / 0.8081 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.206, allocations: 3.953 kB / 0.8081 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.206, allocations: 0 / 0.8081 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/1.206, allocations: 426.4 kB / 0.8085 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.206, allocations: 0 / 0.8085 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/1.206, allocations: 18.19 kB / 0.8085 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.206, allocations: 3.953 kB / 0.8085 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/1.207, allocations: 3.875 kB / 0.8085 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.207, allocations: 0 / 0.8085 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.207, allocations: 0 / 0.8085 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/1.207, allocations: 220.7 kB / 0.8087 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/1.207, allocations: 84.86 kB / 0.8088 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/1.207, allocations: 7.641 kB / 0.8088 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/1.207, allocations: 14.84 kB / 0.8088 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/1.207, allocations: 9.891 kB / 0.8088 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/1.207, allocations: 7.469 kB / 0.8089 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.761e-05/1.207, allocations: 97.06 kB / 0.8089 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.207, allocations: 0 / 0.8089 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004795/1.208, allocations: 60.66 kB / 0.809 GB, free: 9.59 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 (12): * Single equations (assignments): 9 * 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.001308/1.209, allocations: 0.8142 MB / 0.8098 GB, free: 24.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002513/1.209, allocations: 67.38 kB / 0.8099 GB, free: 24.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.209, allocations: 8.094 kB / 0.8099 GB, free: 24.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/1.21, allocations: 38.06 kB / 0.8099 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/1.21, allocations: 19.58 kB / 0.8099 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/1.211, allocations: 176.9 kB / 0.8101 GB, free: 24.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/1.211, allocations: 0.7052 MB / 0.8108 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.818e-05/1.211, allocations: 11.23 kB / 0.8108 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/1.211, allocations: 28.7 kB / 0.8108 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of SimCode: time 8.61e-07/1.211, allocations: 0 / 0.8108 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/1.237, allocations: 2.923 MB / 0.8137 GB, free: 23.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/1.237, allocations: 208 kB / 0.8139 GB, free: 23.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/3.531, allocations: 4 kB / 0.8139 GB, free: 23.47 MB / 0.6511 GB