Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.438/4.438, allocations: 460.4 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.716e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2313, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8726/1.104, allocations: 133.7 MB / 0.8025 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/1.104, allocations: 79.95 kB / 0.8025 GB, free: 13.23 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.01489/1.119, allocations: 3.208 MB / 0.8057 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.119, allocations: 0 / 0.8057 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.805e-06/1.119, allocations: 0 / 0.8057 GB, free: 12.76 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.0007178/1.12, allocations: 489.9 kB / 0.8061 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.12, allocations: 15.66 kB / 0.8062 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/1.12, allocations: 42.44 kB / 0.8062 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/1.12, allocations: 14.41 kB / 0.8062 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/1.12, allocations: 171.6 kB / 0.8064 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/1.12, allocations: 3.844 kB / 0.8064 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/1.12, allocations: 7.594 kB / 0.8064 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/1.121, allocations: 75.84 kB / 0.8065 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.121, allocations: 0 / 0.8065 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/1.121, allocations: 0 / 0.8065 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.121, allocations: 3.938 kB / 0.8065 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/1.121, allocations: 49.67 kB / 0.8065 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/1.121, allocations: 327.4 kB / 0.8068 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/1.122, allocations: 80.36 kB / 0.8069 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.466e-05/1.122, allocations: 38.45 kB / 0.8069 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/1.122, allocations: 2.719 kB / 0.8069 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/1.122, allocations: 89.08 kB / 0.807 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.265e-06/1.122, allocations: 0 / 0.807 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003789/1.123, allocations: 137.9 kB / 0.8072 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/1.123, allocations: 58.38 kB / 0.8072 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/1.123, allocations: 121.5 kB / 0.8073 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/1.123, allocations: 29.7 kB / 0.8074 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/1.123, allocations: 97.2 kB / 0.8074 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/1.123, allocations: 30.45 kB / 0.8075 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/1.123, allocations: 3.938 kB / 0.8075 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.536e-05/1.123, allocations: 324.5 kB / 0.8078 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/1.123, allocations: 26.16 kB / 0.8078 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.786e-05/1.123, allocations: 66.14 kB / 0.8079 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.591e-05/1.123, allocations: 29.58 kB / 0.8079 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.123, allocations: 0 / 0.8079 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002708/1.124, allocations: 121.9 kB / 0.808 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.124, allocations: 6.969 kB / 0.808 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.124, allocations: 3.938 kB / 0.808 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.124, allocations: 8.047 kB / 0.808 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/1.124, allocations: 22.69 kB / 0.8081 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.124, allocations: 3.938 kB / 0.8081 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/1.124, allocations: 15.05 kB / 0.8081 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/1.124, allocations: 7.531 kB / 0.8081 GB, free: 10.86 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.pulseStart,booleanPulse.pulseStart) * 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 8.044e-05/1.124, allocations: 117.1 kB / 0.8082 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/1.124, allocations: 7.75 kB / 0.8082 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004384/1.125, allocations: 155.6 kB / 0.8084 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.125, allocations: 3.953 kB / 0.8084 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.125, allocations: 3.938 kB / 0.8084 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.125, allocations: 3.906 kB / 0.8084 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006899/1.125, allocations: 433.4 kB / 0.8088 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.125, allocations: 10.81 kB / 0.8088 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/1.126, allocations: 15.62 kB / 0.8088 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/1.126, allocations: 3.953 kB / 0.8088 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/1.126, allocations: 6.844 kB / 0.8088 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/1.126, allocations: 0 / 0.8088 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.126, allocations: 0 / 0.8088 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/1.126, allocations: 224.5 kB / 0.809 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/1.126, allocations: 91.77 kB / 0.8091 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/1.126, allocations: 19.55 kB / 0.8091 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/1.126, allocations: 6.688 kB / 0.8091 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/1.126, allocations: 17.61 kB / 0.8092 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/1.126, allocations: 3.344 kB / 0.8092 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.698e-05/1.126, allocations: 99.86 kB / 0.8093 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.127, allocations: 0 / 0.8093 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005056/1.127, allocations: 58.06 kB / 0.8093 GB, free: 10.03 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.001234/1.128, allocations: 0.8339 MB / 0.8101 GB, free: 25.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002791/1.129, allocations: 78.16 kB / 0.8102 GB, free: 25.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.129, allocations: 4 kB / 0.8102 GB, free: 25.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/1.129, allocations: 52.75 kB / 0.8103 GB, free: 25.33 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/1.129, allocations: 21.16 kB / 0.8103 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/1.13, allocations: 184.5 kB / 0.8105 GB, free: 25.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/1.13, allocations: 0.7028 MB / 0.8111 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.461e-05/1.13, allocations: 15.45 kB / 0.8112 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.454e-05/1.13, allocations: 28.05 kB / 0.8112 GB, free: 24.49 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.13, allocations: 0 / 0.8112 GB, free: 24.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/1.154, allocations: 3.139 MB / 0.8142 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/1.154, allocations: 200.1 kB / 0.8144 GB, free: 23.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/3.583, allocations: 7.875 kB / 0.8144 GB, free: 23.89 MB / 0.6511 GB