Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="cs",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(Modelica): time 1.816/1.816, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.258/2.075, allocations: 46.82 MB / 249.4 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/2.169, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.437/10.61, allocations: 3.685 GB / 3.972 GB, free: 18.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/10.61, allocations: 77.97 kB / 3.972 GB, free: 18.47 MB / 394.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/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$NumberOfPeople.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$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 5.293/15.9, allocations: 0.9036 GB / 4.875 GB, free: 13.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/15.9, allocations: 9.219 kB / 4.875 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003903/15.9, allocations: 413.4 kB / 4.876 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/15.92, allocations: 2.413 MB / 4.878 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004551/15.92, allocations: 254.9 kB / 4.878 GB, free: 12.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/15.92, allocations: 187.1 kB / 4.879 GB, free: 12.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01749/15.94, allocations: 5.262 MB / 4.884 GB, free: 12.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/15.95, allocations: 4.91 MB / 4.888 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/15.95, allocations: 19.62 kB / 4.889 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/15.96, allocations: 7.469 kB / 4.889 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003773/15.96, allocations: 274.1 kB / 4.889 GB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06052/16.02, allocations: 20.65 MB / 4.909 GB, free: 18.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008336/16.03, allocations: 2.387 MB / 4.911 GB, free: 18.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006395/16.03, allocations: 2.175 MB / 4.913 GB, free: 18.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003984/16.04, allocations: 2.726 MB / 4.916 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007892/16.04, allocations: 2.484 MB / 4.918 GB, free: 15.44 MB / 458.7 MB Notification: Performance of pre-optimization done (n=310): time 8.336e-06/16.04, allocations: 0 / 4.918 GB, free: 15.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=370): time 0.1699/16.21, allocations: 23.22 MB / 4.941 GB, free: 12.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000264/16.21, allocations: 464.3 kB / 4.942 GB, free: 11.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/16.22, allocations: 1.461 MB / 4.943 GB, free: 10.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001459/16.22, allocations: 29.7 kB / 4.943 GB, free: 10.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001489/16.22, allocations: 1.1 MB / 4.944 GB, free: 9.469 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002906/16.22, allocations: 1.249 MB / 4.945 GB, free: 8.324 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007706/16.22, allocations: 4 kB / 4.945 GB, free: 8.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004942/16.23, allocations: 478.8 kB / 4.946 GB, free: 7.895 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009306/16.23, allocations: 2.625 MB / 4.948 GB, free: 5.574 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01085/16.25, allocations: 3.61 MB / 4.952 GB, free: 1.965 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04096/16.29, allocations: 5.165 MB / 4.957 GB, free: 15.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-05/16.29, allocations: 8 kB / 4.957 GB, free: 15.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.04824/16.34, allocations: 8.98 MB / 4.966 GB, free: 8.309 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2325/16.57, allocations: 10.8 MB / 4.976 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/16.57, allocations: 27.34 kB / 4.976 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/16.58, allocations: 1.963 MB / 4.978 GB, free: 66.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/16.59, allocations: 0.9345 MB / 4.979 GB, free: 66.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/16.6, allocations: 6.354 MB / 4.985 GB, free: 63.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01036/16.61, allocations: 428.8 kB / 4.986 GB, free: 63.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/16.62, allocations: 248.9 kB / 4.986 GB, free: 63.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/16.62, allocations: 3.656 kB / 4.986 GB, free: 63.56 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05013/16.67, allocations: 8.968 MB / 4.995 GB, free: 63.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/16.67, allocations: 30.72 kB / 4.995 GB, free: 63.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01236/16.68, allocations: 1.89 MB / 4.997 GB, free: 63.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/16.69, allocations: 0.9441 MB / 4.998 GB, free: 63.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/16.7, allocations: 6.158 MB / 5.004 GB, free: 60.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009663/16.71, allocations: 408.7 kB / 5.004 GB, free: 60.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001859/16.71, allocations: 241.2 kB / 5.004 GB, free: 60.29 MB / 474.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.002131/16.72, allocations: 216.1 kB / 5.004 GB, free: 60.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/16.72, allocations: 277.8 kB / 5.005 GB, free: 60.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03688/16.75, allocations: 8.277 MB / 5.013 GB, free: 59.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.051e-05/16.75, allocations: 41.69 kB / 5.013 GB, free: 59.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/16.75, allocations: 0 / 5.013 GB, free: 59.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02553/16.78, allocations: 6.359 MB / 5.019 GB, free: 59.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05985/16.84, allocations: 13.48 MB / 5.032 GB, free: 58.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.687e-05/16.84, allocations: 4.594 kB / 5.032 GB, free: 58.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008402/16.85, allocations: 0.6795 MB / 5.033 GB, free: 58.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01783/16.87, allocations: 2.284 MB / 5.035 GB, free: 58.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001471/16.87, allocations: 136.8 kB / 5.035 GB, free: 58.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/16.88, allocations: 6.048 MB / 5.041 GB, free: 55.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/16.88, allocations: 6.969 kB / 5.041 GB, free: 55.46 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0449/16.92, allocations: 10.92 MB / 5.052 GB, free: 54.83 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05609/16.98, allocations: 15.32 MB / 5.067 GB, free: 53.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004745/16.98, allocations: 1.008 MB / 5.068 GB, free: 53.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001951/16.99, allocations: 76.08 kB / 5.068 GB, free: 53.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008729/17, allocations: 327.4 kB / 5.068 GB, free: 53.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001474/17, allocations: 236.2 kB / 5.068 GB, free: 53.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008648/17, allocations: 177.6 kB / 5.068 GB, free: 53.42 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002812/17, allocations: 1.09 MB / 5.07 GB, free: 53.31 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02316/17.02, allocations: 3.707 MB / 5.073 GB, free: 53.31 MB / 474.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.01491/17.04, allocations: 3.471 MB / 5.077 GB, free: 53.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03407/17.07, allocations: 10.2 MB / 5.086 GB, free: 52.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/17.07, allocations: 0.9375 kB / 5.086 GB, free: 52.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01077/17.08, allocations: 3.091 MB / 5.09 GB, free: 52.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01308/17.1, allocations: 1.095 MB / 5.091 GB, free: 52.62 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03694/17.13, allocations: 8.964 MB / 5.099 GB, free: 50.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008151/17.14, allocations: 3.006 MB / 5.102 GB, free: 49.53 MB / 474.7 MB Notification: Performance of SimCode: time 1.573e-06/17.14, allocations: 0 / 5.102 GB, free: 49.53 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls_res.mat does not exist to compare? outputFormat=mat