Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.373/4.373, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5679/4.941, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/5.175, allocations: 98.72 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2628/5.437, allocations: 125.9 MB / 0.7512 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/5.438, allocations: 83.59 kB / 0.7513 GB, free: 11.61 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 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.0164/5.454, allocations: 3.238 MB / 0.7545 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/5.454, allocations: 8 kB / 0.7545 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/5.454, allocations: 7.906 kB / 0.7545 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/5.455, allocations: 171 kB / 0.7547 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/5.455, allocations: 3.906 kB / 0.7547 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/5.455, allocations: 4 kB / 0.7547 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001843/5.455, allocations: 35.92 kB / 0.7547 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/5.455, allocations: 61.66 kB / 0.7548 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/5.455, allocations: 0 / 0.7548 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/5.455, allocations: 4 kB / 0.7548 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/5.455, allocations: 4 kB / 0.7548 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/5.456, allocations: 293.3 kB / 0.7551 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/5.456, allocations: 58.59 kB / 0.7551 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/5.456, allocations: 29.58 kB / 0.7551 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/5.456, allocations: 0 / 0.7551 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/5.456, allocations: 83.36 kB / 0.7552 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/5.456, allocations: 0 / 0.7552 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003595/5.457, allocations: 97.42 kB / 0.7553 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/5.457, allocations: 55.41 kB / 0.7554 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/5.457, allocations: 113 kB / 0.7555 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/5.457, allocations: 33.64 kB / 0.7555 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/5.457, allocations: 88.36 kB / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/5.457, allocations: 23.66 kB / 0.7556 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-06/5.457, allocations: 0 / 0.7556 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001317/5.457, allocations: 322.9 kB / 0.7559 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/5.457, allocations: 19.94 kB / 0.7559 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/5.457, allocations: 65.08 kB / 0.756 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.436e-05/5.458, allocations: 23.98 kB / 0.756 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/5.458, allocations: 0 / 0.756 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002742/5.458, allocations: 101.5 kB / 0.7561 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/5.458, allocations: 15.98 kB / 0.7561 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/5.458, allocations: 3.938 kB / 0.7561 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/5.458, allocations: 4 kB / 0.7561 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/5.458, allocations: 19.98 kB / 0.7562 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/5.458, allocations: 0 / 0.7562 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/5.458, allocations: 12 kB / 0.7562 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/5.458, allocations: 11.98 kB / 0.7562 GB, free: 6.391 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.0001091/5.459, allocations: 111.6 kB / 0.7563 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/5.459, allocations: 7.906 kB / 0.7563 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/5.459, allocations: 118 kB / 0.7564 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/5.459, allocations: 0 / 0.7564 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/5.459, allocations: 0 / 0.7564 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/5.459, allocations: 4 kB / 0.7564 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/5.46, allocations: 375.1 kB / 0.7568 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/5.46, allocations: 0 / 0.7568 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/5.46, allocations: 15.98 kB / 0.7568 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.465e-06/5.46, allocations: 3.906 kB / 0.7568 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/5.46, allocations: 12 kB / 0.7568 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/5.46, allocations: 0 / 0.7568 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.46, allocations: 0 / 0.7568 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003396/5.46, allocations: 199.3 kB / 0.757 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00053/5.461, allocations: 0.5677 MB / 0.7575 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/5.461, allocations: 89.02 kB / 0.7576 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/5.461, allocations: 0 / 0.7576 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/5.461, allocations: 15.92 kB / 0.7576 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/5.461, allocations: 7.984 kB / 0.7577 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/5.461, allocations: 7.984 kB / 0.7577 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.602e-05/5.462, allocations: 91.28 kB / 0.7578 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001347/5.463, allocations: 67.83 kB / 0.7578 GB, free: 4.613 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.pulsStart) * 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.0005212/5.463, allocations: 179 kB / 0.758 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002768/5.464, allocations: 63.92 kB / 0.758 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/5.464, allocations: 4.25 kB / 0.7581 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/5.464, allocations: 39.94 kB / 0.7581 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/5.464, allocations: 11.98 kB / 0.7581 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/5.465, allocations: 119.3 kB / 0.7582 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/5.465, allocations: 0.7231 MB / 0.7589 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.262e-06/5.465, allocations: 0 / 0.7589 GB, free: 3.43 MB / 0.6355 GB