Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",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.432/2.432, allocations: 235 MB / 242 MB, free: 13.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1853/2.617, allocations: 57.2 MB / 299.2 MB, free: 3.766 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/2.915, allocations: 54.86 MB / 354.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5813/3.496, allocations: 214.7 MB / 0.5554 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/3.497, allocations: 83.14 kB / 0.5555 GB, free: 15.86 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 3.565/7.062, allocations: 0.6456 GB / 1.201 GB, free: 66.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/7.062, allocations: 10.62 kB / 1.201 GB, free: 66.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/7.074, allocations: 419 kB / 1.201 GB, free: 66.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00606/7.08, allocations: 0.9665 MB / 1.202 GB, free: 66.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/7.08, allocations: 28.56 kB / 1.202 GB, free: 66.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006073/7.081, allocations: 50.33 kB / 1.202 GB, free: 66.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004204/7.085, allocations: 0.7724 MB / 1.203 GB, free: 66.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004527/7.09, allocations: 1.022 MB / 1.204 GB, free: 65.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-05/7.09, allocations: 6.344 kB / 1.204 GB, free: 65.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003708/7.09, allocations: 7.469 kB / 1.204 GB, free: 65.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.367e-05/7.09, allocations: 28.28 kB / 1.204 GB, free: 65.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/7.108, allocations: 6.41 MB / 1.211 GB, free: 61.63 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/7.11, allocations: 462.5 kB / 1.211 GB, free: 61.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008835/7.111, allocations: 223.9 kB / 1.211 GB, free: 61.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000855/7.112, allocations: 0.7625 MB / 1.212 GB, free: 60.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/7.112, allocations: 41.66 kB / 1.212 GB, free: 60.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=48): time 5.18e-06/7.112, allocations: 3.219 kB / 1.212 GB, free: 60.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=48): time 0.02254/7.134, allocations: 1.294 MB / 1.213 GB, free: 60.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/7.134, allocations: 187.7 kB / 1.213 GB, free: 60.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/7.136, allocations: 0.6897 MB / 1.214 GB, free: 60.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002042/7.136, allocations: 32.8 kB / 1.214 GB, free: 60.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/7.137, allocations: 482.5 kB / 1.215 GB, free: 59.97 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/7.137, allocations: 168.7 kB / 1.215 GB, free: 59.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/7.137, allocations: 0 / 1.215 GB, free: 59.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/7.138, allocations: 343.3 kB / 1.215 GB, free: 59.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/7.139, allocations: 276.1 kB / 1.215 GB, free: 59.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/7.14, allocations: 0.6196 MB / 1.216 GB, free: 59.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01899/7.159, allocations: 1.675 MB / 1.218 GB, free: 59.15 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/7.159, allocations: 6.875 kB / 1.218 GB, free: 59.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.02249/7.182, allocations: 2.426 MB / 1.22 GB, free: 59.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009916/7.183, allocations: 4.177 MB / 1.224 GB, free: 54.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/7.183, allocations: 11.09 kB / 1.224 GB, free: 54.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006439/7.189, allocations: 468.5 kB / 1.224 GB, free: 54.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/7.192, allocations: 336.1 kB / 1.225 GB, free: 54.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00528/7.197, allocations: 1.018 MB / 1.226 GB, free: 54.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/7.2, allocations: 155.8 kB / 1.226 GB, free: 54.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006807/7.201, allocations: 178.9 kB / 1.226 GB, free: 54.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/7.201, allocations: 2.875 kB / 1.226 GB, free: 54.14 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01705/7.218, allocations: 1.975 MB / 1.228 GB, free: 54.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.85e-05/7.218, allocations: 12.23 kB / 1.228 GB, free: 54.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/7.219, allocations: 89.78 kB / 1.228 GB, free: 54.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002875/7.222, allocations: 340.2 kB / 1.228 GB, free: 54.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/7.225, allocations: 1.568 MB / 1.23 GB, free: 52.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/7.227, allocations: 113.2 kB / 1.23 GB, free: 52.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004124/7.227, allocations: 139 kB / 1.23 GB, free: 52.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005078/7.228, allocations: 140.9 kB / 1.23 GB, free: 52.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/7.228, allocations: 100.7 kB / 1.23 GB, free: 52.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01914/7.248, allocations: 3.387 MB / 1.234 GB, free: 52.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.687e-05/7.248, allocations: 18.08 kB / 1.234 GB, free: 52.45 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/7.248, allocations: 1.375 kB / 1.234 GB, free: 52.45 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/7.248, allocations: 3.656 kB / 1.234 GB, free: 52.45 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009417/7.257, allocations: 2.215 MB / 1.236 GB, free: 52.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/7.257, allocations: 7.312 kB / 1.236 GB, free: 52.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/7.259, allocations: 147.6 kB / 1.236 GB, free: 52.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/7.261, allocations: 313.4 kB / 1.236 GB, free: 52.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/7.261, allocations: 26.75 kB / 1.236 GB, free: 52.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/7.264, allocations: 0.9734 MB / 1.237 GB, free: 51.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/7.264, allocations: 3.562 kB / 1.237 GB, free: 51.57 MB / 478.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006961/7.271, allocations: 1.483 MB / 1.239 GB, free: 51.23 MB / 478.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01076/7.282, allocations: 1.957 MB / 1.241 GB, free: 50.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/7.284, allocations: 341.8 kB / 1.241 GB, free: 50.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007477/7.284, allocations: 7.25 kB / 1.241 GB, free: 50.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/7.287, allocations: 62.58 kB / 1.241 GB, free: 50.35 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004269/7.288, allocations: 70.25 kB / 1.241 GB, free: 50.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/7.288, allocations: 44.55 kB / 1.241 GB, free: 50.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 0.001661/7.29, allocations: 0.5193 MB / 1.242 GB, free: 50.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.011/7.301, allocations: 1.386 MB / 1.243 GB, free: 50.08 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 55 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.006356/7.307, allocations: 1.075 MB / 1.244 GB, free: 49.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007631/7.315, allocations: 1.439 MB / 1.246 GB, free: 49.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/7.315, allocations: 9.594 kB / 1.246 GB, free: 49.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00221/7.317, allocations: 426.2 kB / 1.246 GB, free: 49.66 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006469/7.324, allocations: 381.8 kB / 1.246 GB, free: 49.65 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/7.335, allocations: 1.801 MB / 1.248 GB, free: 49.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004257/7.339, allocations: 1.385 MB / 1.249 GB, free: 48.51 MB / 478.1 MB Notification: Performance of SimCode: time 1.924e-06/7.339, allocations: 0 / 1.249 GB, free: 48.51 MB / 478.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat