Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"dynamic"}) [: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.101/4.101, allocations: 404 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2531/4.354, allocations: 95.02 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/4.873, allocations: 92.68 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/5.115, allocations: 123.4 MB / 0.7051 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/5.115, allocations: 91.88 kB / 0.7052 GB, free: 10.18 MB / 0.5886 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableValueNoDer. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmax. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableValueNoDer. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.04715/5.163, allocations: 9.729 MB / 0.7147 GB, free: 372 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/5.163, allocations: 16 kB / 0.7147 GB, free: 356 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/5.163, allocations: 31.62 kB / 0.7148 GB, free: 324 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/5.164, allocations: 359.7 kB / 0.7151 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/5.164, allocations: 7.984 kB / 0.7151 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/5.164, allocations: 8 kB / 0.7151 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002588/5.164, allocations: 55.98 kB / 0.7152 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/5.164, allocations: 110.7 kB / 0.7153 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/5.165, allocations: 0 / 0.7153 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/5.165, allocations: 3.938 kB / 0.7153 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/5.165, allocations: 7.906 kB / 0.7153 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/5.166, allocations: 0.5166 MB / 0.7158 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/5.166, allocations: 122.7 kB / 0.7159 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/5.166, allocations: 48.84 kB / 0.716 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/5.167, allocations: 4 kB / 0.716 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/5.167, allocations: 103.4 kB / 0.7161 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.194e-06/5.167, allocations: 4 kB / 0.7161 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0005569/5.167, allocations: 149.3 kB / 0.7162 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/5.167, allocations: 59.31 kB / 0.7163 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009147/5.168, allocations: 414 kB / 0.7167 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/5.168, allocations: 29.7 kB / 0.7167 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/5.169, allocations: 124.3 kB / 0.7168 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/5.169, allocations: 27.61 kB / 0.7168 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/5.169, allocations: 4.219 kB / 0.7168 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001796/5.169, allocations: 358.6 kB / 0.7172 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/5.169, allocations: 76.17 kB / 0.7172 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/5.169, allocations: 98.53 kB / 0.7173 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/5.17, allocations: 78.81 kB / 0.7174 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/5.17, allocations: 4 kB / 0.7174 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008056/5.171, allocations: 253 kB / 0.7177 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/5.171, allocations: 8.062 kB / 0.7177 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/5.171, allocations: 4 kB / 0.7177 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/5.171, allocations: 0 / 0.7177 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/5.171, allocations: 31.98 kB / 0.7177 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/5.171, allocations: 3.938 kB / 0.7177 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/5.171, allocations: 23.73 kB / 0.7177 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/5.171, allocations: 8 kB / 0.7177 GB, free: 13.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001404/5.172, allocations: 120.7 kB / 0.7178 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/5.172, allocations: 31.62 kB / 0.7179 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006103/5.172, allocations: 180.4 kB / 0.7181 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/5.172, allocations: 0 / 0.7181 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/5.172, allocations: 0 / 0.7181 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/5.172, allocations: 0 / 0.7181 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/5.173, allocations: 293.9 kB / 0.7183 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/5.173, allocations: 0 / 0.7183 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/5.173, allocations: 15.98 kB / 0.7183 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/5.173, allocations: 4 kB / 0.7184 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/5.173, allocations: 7.984 kB / 0.7184 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/5.173, allocations: 0 / 0.7184 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/5.173, allocations: 0 / 0.7184 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005073/5.174, allocations: 195.4 kB / 0.7185 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006809/5.174, allocations: 0.5674 MB / 0.7191 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/5.175, allocations: 144.5 kB / 0.7192 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/5.175, allocations: 4 kB / 0.7192 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/5.175, allocations: 7.984 kB / 0.7192 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/5.175, allocations: 15.92 kB / 0.7193 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/5.175, allocations: 7.984 kB / 0.7193 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007058/5.176, allocations: 328.5 kB / 0.7196 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001621/5.177, allocations: 87.83 kB / 0.7197 GB, free: 11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00151/5.179, allocations: 476.5 kB / 0.7201 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006413/5.18, allocations: 235.3 kB / 0.7203 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/5.18, allocations: 4.125 kB / 0.7204 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/5.18, allocations: 63.98 kB / 0.7204 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/5.181, allocations: 64.88 kB / 0.7205 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/5.182, allocations: 416.4 kB / 0.7209 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006874/5.183, allocations: 0.8235 MB / 0.7217 GB, free: 9.047 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/5.183, allocations: 0 / 0.7217 GB, free: 9.047 MB / 0.6042 GB