Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",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(Modelica): time 1.674/1.674, allocations: 194.9 MB / 202.5 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.236/1.91, allocations: 46.83 MB / 249.3 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/1.997, allocations: 44.49 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.659/9.656, allocations: 3.685 GB / 3.972 GB, free: 20.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/9.657, allocations: 90.38 kB / 3.972 GB, free: 20.25 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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$NumberOfPeople.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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$NumberOfPeople.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 4.617/14.27, allocations: 0.9036 GB / 4.875 GB, free: 18.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/14.27, allocations: 8.062 kB / 4.875 GB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/14.28, allocations: 410.5 kB / 4.876 GB, free: 18.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/14.29, allocations: 2.419 MB / 4.878 GB, free: 18.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004744/14.29, allocations: 253.3 kB / 4.878 GB, free: 18.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/14.29, allocations: 184.7 kB / 4.879 GB, free: 18.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01631/14.31, allocations: 5.26 MB / 4.884 GB, free: 18.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/14.32, allocations: 4.919 MB / 4.888 GB, free: 17.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/14.32, allocations: 10.44 kB / 4.888 GB, free: 17.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001194/14.33, allocations: 5.906 kB / 4.888 GB, free: 17.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003007/14.33, allocations: 278.9 kB / 4.889 GB, free: 17.49 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05422/14.38, allocations: 20.64 MB / 4.909 GB, free: 7.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007769/14.39, allocations: 2.381 MB / 4.911 GB, free: 7.438 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006436/14.39, allocations: 2.171 MB / 4.913 GB, free: 6.676 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003329/14.4, allocations: 2.729 MB / 4.916 GB, free: 19.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008083/14.41, allocations: 2.488 MB / 4.918 GB, free: 18.87 MB / 458.7 MB Notification: Performance of pre-optimization done (n=310): time 1.002e-05/14.41, allocations: 0 / 4.918 GB, free: 18.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=370): time 0.1551/14.56, allocations: 23.23 MB / 4.941 GB, free: 1.375 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000336/14.56, allocations: 454.1 kB / 4.942 GB, free: 0.832 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2338/14.8, allocations: 1.499 MB / 4.943 GB, free: 61.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001414/14.8, allocations: 29.39 kB / 4.943 GB, free: 61.47 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/14.8, allocations: 1.099 MB / 4.944 GB, free: 61.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00237/14.8, allocations: 1.251 MB / 4.945 GB, free: 60.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007511/14.8, allocations: 5.812 kB / 4.945 GB, free: 60.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000363/14.8, allocations: 479.1 kB / 4.946 GB, free: 60.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007583/14.81, allocations: 2.63 MB / 4.948 GB, free: 60.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008661/14.82, allocations: 3.611 MB / 4.952 GB, free: 59.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02469/14.84, allocations: 4.638 MB / 4.956 GB, free: 59.28 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.749e-05/14.84, allocations: 7.188 kB / 4.956 GB, free: 59.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.0395/14.88, allocations: 8.983 MB / 4.965 GB, free: 58.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002376/14.89, allocations: 10.79 MB / 4.976 GB, free: 47.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/14.89, allocations: 24.75 kB / 4.976 GB, free: 47.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/14.9, allocations: 1.963 MB / 4.978 GB, free: 47.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008796/14.91, allocations: 0.9308 MB / 4.979 GB, free: 47.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/14.92, allocations: 6.357 MB / 4.985 GB, free: 44.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009354/14.93, allocations: 432.6 kB / 4.985 GB, free: 44.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001919/14.93, allocations: 251.6 kB / 4.985 GB, free: 44.72 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/14.93, allocations: 4.75 kB / 4.985 GB, free: 44.72 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04462/14.97, allocations: 8.963 MB / 4.994 GB, free: 44.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/14.97, allocations: 27.75 kB / 4.994 GB, free: 44.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/14.98, allocations: 1.894 MB / 4.996 GB, free: 44.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00886/14.99, allocations: 0.939 MB / 4.997 GB, free: 44.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/15, allocations: 6.162 MB / 5.003 GB, free: 41.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008719/15.01, allocations: 411 kB / 5.003 GB, free: 41.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001824/15.01, allocations: 243.6 kB / 5.004 GB, free: 41.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 122 * Number of states: 0 () * Number of discrete variables: 16 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,$whenCondition1,$PRE.NumberOfPeople.nextTimeEvent,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],NumberOfPeople.nextTimeEvent,$PRE.NumberOfPeople.nextTimeEventScaled,NumberOfPeople.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (499): * Single equations (assignments): 489 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.002434/15.02, allocations: 221.4 kB / 5.004 GB, free: 41.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/15.02, allocations: 272.5 kB / 5.004 GB, free: 41.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03248/15.05, allocations: 8.278 MB / 5.012 GB, free: 40.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.95e-05/15.05, allocations: 44.98 kB / 5.012 GB, free: 40.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/15.05, allocations: 0 / 5.012 GB, free: 40.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02425/15.07, allocations: 6.358 MB / 5.018 GB, free: 40.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05352/15.13, allocations: 13.46 MB / 5.032 GB, free: 39.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-05/15.13, allocations: 4.625 kB / 5.032 GB, free: 39.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007238/15.14, allocations: 0.6787 MB / 5.032 GB, free: 39.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01532/15.15, allocations: 2.285 MB / 5.034 GB, free: 39.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001461/15.15, allocations: 141.5 kB / 5.035 GB, free: 39.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/15.16, allocations: 6.041 MB / 5.041 GB, free: 36.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/15.16, allocations: 9.406 kB / 5.041 GB, free: 36.3 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03916/15.2, allocations: 10.92 MB / 5.051 GB, free: 35.53 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04992/15.25, allocations: 15.33 MB / 5.066 GB, free: 33.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004328/15.26, allocations: 1.01 MB / 5.067 GB, free: 32.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002093/15.26, allocations: 76.8 kB / 5.067 GB, free: 32.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007733/15.27, allocations: 319.4 kB / 5.068 GB, free: 32.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001408/15.27, allocations: 230 kB / 5.068 GB, free: 32.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007992/15.27, allocations: 180.4 kB / 5.068 GB, free: 32.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.002502/15.27, allocations: 1.083 MB / 5.069 GB, free: 32.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02095/15.29, allocations: 3.718 MB / 5.073 GB, free: 31.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 21 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1],ductOut.mCs_scaled[1,1],ductOut.mCs_scaled[2,1],ductOut.mediums[1].p,ductOut.mediums[1].Xi[1],ductOut.mediums[1].T,ductOut.mediums[2].p,ductOut.mediums[2].Xi[1],ductOut.mediums[2].T,PID.I.y,ductIn.mCs_scaled[1,1],ductIn.mCs_scaled[2,1],ductIn.mediums[1].p,ductIn.mediums[1].Xi[1],ductIn.mediums[1].T,ductIn.mediums[2].p,ductIn.mediums[2].Xi[1],ductIn.mediums[2].T) * Number of discrete variables: 3 ($whenCondition1,NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Number of discrete states: 2 (NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (365): * Single equations (assignments): 353 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,2 6,2 6,2 6,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01376/15.31, allocations: 3.448 MB / 5.076 GB, free: 30.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03212/15.34, allocations: 10.2 MB / 5.086 GB, free: 27.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/15.34, allocations: 3.594 kB / 5.086 GB, free: 27.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01016/15.35, allocations: 3.092 MB / 5.089 GB, free: 26.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01166/15.36, allocations: 1.086 MB / 5.09 GB, free: 25.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03325/15.39, allocations: 8.959 MB / 5.099 GB, free: 18.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006991/15.4, allocations: 3.01 MB / 5.102 GB, free: 16.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.633e-06/15.4, allocations: 0 / 5.102 GB, free: 16.3 MB / 458.7 MB