Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_1_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.699/1.699, allocations: 171.2 MB / 178.1 MB, free: 8.297 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2228/1.922, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09593/2.018, allocations: 38.76 MB / 258 MB, free: 4.375 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.062/11.08, allocations: 3.68 GB / 3.932 GB, free: 70.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/11.08, allocations: 81.91 kB / 3.932 GB, free: 70.29 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Examples/TraceSubstances.mo:112:17-112:29:writable] Warning: Non-array modification '0.01' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Examples/TraceSubstances.mo:122:23-122:37:writable] Warning: Non-array modification '0.01' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Examples/TraceSubstances.mo:168:23-168:37:writable] Warning: Non-array modification '0.01' for array component, possibly due to missing 'each'. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 820 * Number of variables: 820 Notification: Performance of Generate backend data structure: time 4.978/16.06, allocations: 0.8976 GB / 4.83 GB, free: 18.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/16.06, allocations: 6.094 kB / 4.83 GB, free: 18.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003954/16.06, allocations: 408.8 kB / 4.83 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/16.07, allocations: 2.429 MB / 4.832 GB, free: 17.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005191/16.07, allocations: 259.6 kB / 4.833 GB, free: 17.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002018/16.08, allocations: 180.8 kB / 4.833 GB, free: 17.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01788/16.09, allocations: 5.254 MB / 4.838 GB, free: 17.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01884/16.11, allocations: 4.912 MB / 4.843 GB, free: 16.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/16.11, allocations: 11.53 kB / 4.843 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009974/16.11, allocations: 6.594 kB / 4.843 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003129/16.11, allocations: 280.4 kB / 4.843 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06438/16.18, allocations: 18.96 MB / 4.862 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007843/16.19, allocations: 2.379 MB / 4.864 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005924/16.19, allocations: 2.161 MB / 4.866 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003029/16.2, allocations: 2.72 MB / 4.869 GB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00724/16.2, allocations: 2.481 MB / 4.871 GB, free: 6.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=308): time 6.833e-06/16.2, allocations: 0 / 4.871 GB, free: 6.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=368): time 0.1673/16.37, allocations: 23.19 MB / 4.894 GB, free: 224 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003871/16.37, allocations: 490.6 kB / 4.894 GB, free: 15.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004724/16.38, allocations: 1.459 MB / 4.896 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00154/16.38, allocations: 29.7 kB / 4.896 GB, free: 14.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001894/16.38, allocations: 1.099 MB / 4.897 GB, free: 13.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003024/16.38, allocations: 1.243 MB / 4.898 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008905/16.38, allocations: 4 kB / 4.898 GB, free: 12.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005207/16.38, allocations: 483.5 kB / 4.898 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008871/16.39, allocations: 2.618 MB / 4.901 GB, free: 9.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01042/16.4, allocations: 3.602 MB / 4.904 GB, free: 5.848 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03269/16.44, allocations: 4.628 MB / 4.909 GB, free: 2.359 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.895e-05/16.44, allocations: 8 kB / 4.909 GB, free: 2.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.2829/16.72, allocations: 9.931 MB / 4.919 GB, free: 54.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002569/16.72, allocations: 10.7 MB / 4.929 GB, free: 43.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/16.72, allocations: 26.88 kB / 4.929 GB, free: 43.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01158/16.73, allocations: 1.962 MB / 4.931 GB, free: 43.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01044/16.74, allocations: 0.9232 MB / 4.932 GB, free: 43.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/16.76, allocations: 6.354 MB / 4.938 GB, free: 40.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01258/16.77, allocations: 431.7 kB / 4.939 GB, free: 40.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002394/16.78, allocations: 251.3 kB / 4.939 GB, free: 40.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/16.78, allocations: 3.719 kB / 4.939 GB, free: 40.64 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0637/16.84, allocations: 9.468 MB / 4.948 GB, free: 40.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/16.84, allocations: 26.47 kB / 4.948 GB, free: 40.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/16.85, allocations: 1.891 MB / 4.95 GB, free: 40.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009066/16.86, allocations: 0.9457 MB / 4.951 GB, free: 40.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/16.87, allocations: 6.153 MB / 4.957 GB, free: 37.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008979/16.88, allocations: 421.1 kB / 4.957 GB, free: 37.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001872/16.88, allocations: 244.4 kB / 4.957 GB, free: 37.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 14 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],$whenCondition1,$PRE.NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (496): * Single equations (assignments): 486 * 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.002082/16.88, allocations: 215.7 kB / 4.958 GB, free: 37.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/16.88, allocations: 270 kB / 4.958 GB, free: 37.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03558/16.92, allocations: 8.271 MB / 4.966 GB, free: 36.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001371/16.92, allocations: 40.44 kB / 4.966 GB, free: 36.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.658e-05/16.92, allocations: 6.766 kB / 4.966 GB, free: 36.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02503/16.95, allocations: 6.336 MB / 4.972 GB, free: 36.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05734/17, allocations: 12.92 MB / 4.985 GB, free: 35.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.652e-05/17, allocations: 0 / 4.985 GB, free: 35.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008067/17.01, allocations: 0.6798 MB / 4.986 GB, free: 35.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01562/17.03, allocations: 2.282 MB / 4.988 GB, free: 35.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001509/17.03, allocations: 137.7 kB / 4.988 GB, free: 35.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/17.04, allocations: 6.052 MB / 4.994 GB, free: 32.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/17.04, allocations: 0 / 4.994 GB, free: 32.46 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04114/17.08, allocations: 10.82 MB / 5.004 GB, free: 31.7 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0513/17.13, allocations: 15.21 MB / 5.019 GB, free: 30.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004458/17.14, allocations: 1.013 MB / 5.02 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001991/17.14, allocations: 70.92 kB / 5.02 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008287/17.15, allocations: 319.6 kB / 5.021 GB, free: 30.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001445/17.15, allocations: 239.2 kB / 5.021 GB, free: 30.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009281/17.15, allocations: 175.7 kB / 5.021 GB, free: 30.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002785/17.15, allocations: 1.077 MB / 5.022 GB, free: 30.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.02296/17.17, allocations: 3.699 MB / 5.026 GB, free: 30.18 MB / 426.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: 2 ($whenCondition1,NumberOfPeople.nextTimeEvent) * Number of discrete states: 1 (NumberOfPeople.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (363): * Single equations (assignments): 352 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.0141/17.19, allocations: 3.421 MB / 5.029 GB, free: 29.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03205/17.22, allocations: 10.13 MB / 5.039 GB, free: 27.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.002e-05/17.22, allocations: 4.031 kB / 5.039 GB, free: 27.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01087/17.23, allocations: 3.084 MB / 5.042 GB, free: 26.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01218/17.24, allocations: 1.082 MB / 5.043 GB, free: 26.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04133/17.29, allocations: 8.944 MB / 5.052 GB, free: 24.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2484/17.53, allocations: 3.003 MB / 5.055 GB, free: 53.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/17.53, allocations: 0 / 5.055 GB, free: 53.99 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls_res.mat does not exist to compare? outputFormat=mat