Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",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(ModelicaTest): time 2.463/2.463, allocations: 235 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1841/2.648, allocations: 57.21 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/2.936, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.183/10.12, allocations: 2.613 GB / 2.959 GB, free: 78.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004493/10.12, allocations: 80.27 kB / 2.959 GB, free: 78.16 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 4.262/14.38, allocations: 0.7568 GB / 3.716 GB, free: 42.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/14.38, allocations: 6.281 kB / 3.716 GB, free: 42.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009849/14.39, allocations: 0.6917 MB / 3.717 GB, free: 42.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/14.4, allocations: 1.005 MB / 3.718 GB, free: 42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/14.4, allocations: 50.59 kB / 3.718 GB, free: 41.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004191/14.4, allocations: 64.59 kB / 3.718 GB, free: 41.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004021/14.4, allocations: 1.085 MB / 3.719 GB, free: 41.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/14.4, allocations: 1.297 MB / 3.72 GB, free: 40.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.268e-05/14.4, allocations: 11 kB / 3.72 GB, free: 40.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/14.4, allocations: 3.781 kB / 3.72 GB, free: 40.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.241e-05/14.4, allocations: 42.64 kB / 3.72 GB, free: 40.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6205/15.03, allocations: 73.85 MB / 3.792 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/15.03, allocations: 0.6914 MB / 3.793 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/15.03, allocations: 406.7 kB / 3.793 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08306/15.11, allocations: 20.25 MB / 3.813 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.664e-05/15.11, allocations: 42.56 kB / 3.813 GB, free: 81.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=86): time 4.549e-06/15.11, allocations: 3 kB / 3.813 GB, free: 81.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=120): time 0.06725/15.18, allocations: 5.009 MB / 3.818 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/15.18, allocations: 169 kB / 3.818 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/15.18, allocations: 0.7061 MB / 3.819 GB, free: 81.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003914/15.18, allocations: 25.7 kB / 3.819 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/15.18, allocations: 0.5026 MB / 3.819 GB, free: 80.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005916/15.18, allocations: 399.2 kB / 3.82 GB, free: 80.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/15.18, allocations: 0 / 3.82 GB, free: 80.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001301/15.18, allocations: 363.5 kB / 3.82 GB, free: 80.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/15.19, allocations: 0.5738 MB / 3.821 GB, free: 80.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/15.19, allocations: 0.9694 MB / 3.822 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006781/15.19, allocations: 0.9218 MB / 3.822 GB, free: 79.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/15.19, allocations: 3.844 kB / 3.822 GB, free: 79.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01506/15.21, allocations: 2.74 MB / 3.825 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001122/15.21, allocations: 4.609 MB / 3.83 GB, free: 74.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.175e-05/15.21, allocations: 15.78 kB / 3.83 GB, free: 74.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005932/15.22, allocations: 0.8487 MB / 3.83 GB, free: 74.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003233/15.22, allocations: 379.6 kB / 3.831 GB, free: 74.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/15.23, allocations: 3.592 MB / 3.834 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004537/15.24, allocations: 239.3 kB / 3.835 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005239/15.24, allocations: 90.31 kB / 3.835 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/15.24, allocations: 3.906 kB / 3.835 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00808/15.25, allocations: 1.48 MB / 3.836 GB, free: 72.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.673e-05/15.25, allocations: 15.56 kB / 3.836 GB, free: 72.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/15.25, allocations: 25.66 kB / 3.836 GB, free: 72.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007962/15.25, allocations: 0.6454 MB / 3.837 GB, free: 72.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.485e-05/15.25, allocations: 23.16 kB / 3.837 GB, free: 72.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/15.26, allocations: 215.8 kB / 3.837 GB, free: 72.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000387/15.26, allocations: 79.98 kB / 3.837 GB, free: 72.82 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump1.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 138 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008204/15.26, allocations: 153.4 kB / 3.837 GB, free: 72.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002919/15.26, allocations: 0.5344 MB / 3.838 GB, free: 72.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/15.28, allocations: 5.857 MB / 3.843 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.569e-05/15.28, allocations: 50.86 kB / 3.843 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/15.28, allocations: 2.406 kB / 3.843 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-05/15.28, allocations: 14.64 kB / 3.844 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0207/15.3, allocations: 7.893 MB / 3.851 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/15.3, allocations: 8.125 kB / 3.851 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/15.3, allocations: 244.2 kB / 3.851 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00693/15.31, allocations: 1.655 MB / 3.853 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003815/15.31, allocations: 35.86 kB / 3.853 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/15.32, allocations: 4.451 MB / 3.857 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/15.32, allocations: 4.656 kB / 3.857 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01448/15.34, allocations: 4.691 MB / 3.862 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01485/15.35, allocations: 5.215 MB / 3.867 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/15.35, allocations: 484.8 kB / 3.868 GB, free: 67.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006814/15.35, allocations: 6.875 kB / 3.868 GB, free: 67.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003716/15.36, allocations: 197.8 kB / 3.868 GB, free: 67.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006217/15.36, allocations: 133.4 kB / 3.868 GB, free: 67.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002679/15.36, allocations: 62.94 kB / 3.868 GB, free: 67.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001673/15.36, allocations: 0.63 MB / 3.869 GB, free: 67.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01538/15.37, allocations: 2.281 MB / 3.871 GB, free: 67.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 30 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 14,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01629/15.39, allocations: 2.447 MB / 3.873 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01294/15.4, allocations: 3.542 MB / 3.877 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/15.4, allocations: 2.812 kB / 3.877 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006747/15.41, allocations: 2.38 MB / 3.879 GB, free: 67.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006462/15.42, allocations: 492.9 kB / 3.879 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09579/15.51, allocations: 17.99 MB / 3.897 GB, free: 66.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003426/15.52, allocations: 1.611 MB / 3.899 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of SimCode: time 2.284e-06/15.52, allocations: 0 / 3.899 GB, free: 65.59 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat