Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",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.5/2.5, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1916/2.692, allocations: 57.21 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/3.033, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.368/10.4, allocations: 2.587 GB / 2.932 GB, free: 106.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005002/10.4, allocations: 85.89 kB / 2.932 GB, free: 106.3 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 1.281/11.68, allocations: 213.4 MB / 3.141 GB, free: 65.65 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/11.68, allocations: 11.59 kB / 3.141 GB, free: 65.65 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/11.69, allocations: 240.2 kB / 3.141 GB, free: 65.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/11.69, allocations: 393.1 kB / 3.141 GB, free: 65.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/11.69, allocations: 15.81 kB / 3.141 GB, free: 65.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/11.69, allocations: 15.88 kB / 3.142 GB, free: 65.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001061/11.69, allocations: 297.4 kB / 3.142 GB, free: 65.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/11.69, allocations: 379.6 kB / 3.142 GB, free: 64.99 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/11.69, allocations: 3.938 kB / 3.142 GB, free: 64.99 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/11.69, allocations: 7.875 kB / 3.142 GB, free: 64.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/11.69, allocations: 11.78 kB / 3.142 GB, free: 64.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/11.7, allocations: 3.947 MB / 3.146 GB, free: 61.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/11.7, allocations: 215.7 kB / 3.146 GB, free: 61.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/11.7, allocations: 116 kB / 3.146 GB, free: 61.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2385/11.94, allocations: 50.41 MB / 3.196 GB, free: 21.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/11.94, allocations: 30.56 kB / 3.196 GB, free: 20.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 4.468e-06/11.94, allocations: 3.984 kB / 3.196 GB, free: 20.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.00284/11.94, allocations: 496.8 kB / 3.196 GB, free: 20.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/11.94, allocations: 102.8 kB / 3.196 GB, free: 20.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/11.94, allocations: 246.5 kB / 3.196 GB, free: 20.22 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/11.94, allocations: 29.7 kB / 3.196 GB, free: 20.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/11.94, allocations: 190.4 kB / 3.197 GB, free: 20.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/11.94, allocations: 82.61 kB / 3.197 GB, free: 19.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/11.94, allocations: 0 / 3.197 GB, free: 19.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.033e-05/11.94, allocations: 338.6 kB / 3.197 GB, free: 19.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/11.94, allocations: 104.2 kB / 3.197 GB, free: 19.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/11.94, allocations: 225.5 kB / 3.197 GB, free: 19.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/11.94, allocations: 198.3 kB / 3.198 GB, free: 19.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/11.95, allocations: 4 kB / 3.198 GB, free: 19.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002889/11.95, allocations: 0.5748 MB / 3.198 GB, free: 18.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/11.95, allocations: 4 kB / 3.198 GB, free: 18.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/11.95, allocations: 4.469 kB / 3.198 GB, free: 18.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/11.95, allocations: 12 kB / 3.198 GB, free: 18.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009339/11.95, allocations: 107.2 kB / 3.198 GB, free: 18.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/11.95, allocations: 11.94 kB / 3.198 GB, free: 18.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008095/11.95, allocations: 70.89 kB / 3.198 GB, free: 18.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/11.95, allocations: 16 kB / 3.198 GB, free: 18.42 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/11.95, allocations: 124.5 kB / 3.198 GB, free: 18.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009423/11.95, allocations: 181.6 kB / 3.199 GB, free: 18.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/11.95, allocations: 1.687 MB / 3.2 GB, free: 16.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/11.95, allocations: 19.78 kB / 3.2 GB, free: 16.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/11.95, allocations: 4 kB / 3.2 GB, free: 16.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/11.95, allocations: 7.938 kB / 3.2 GB, free: 16.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/11.96, allocations: 2.206 MB / 3.202 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/11.96, allocations: 0.7031 kB / 3.202 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/11.96, allocations: 77.94 kB / 3.203 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/11.96, allocations: 4 kB / 3.203 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/11.96, allocations: 9.781 kB / 3.203 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/11.96, allocations: 4.594 kB / 3.203 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/11.96, allocations: 7.984 kB / 3.203 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003289/11.96, allocations: 1.38 MB / 3.204 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003582/11.97, allocations: 1.8 MB / 3.206 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/11.97, allocations: 151.3 kB / 3.206 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/11.97, allocations: 4.516 kB / 3.206 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/11.97, allocations: 45.89 kB / 3.206 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/11.97, allocations: 35.33 kB / 3.206 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/11.97, allocations: 13.78 kB / 3.206 GB, free: 11.33 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000437/11.97, allocations: 227.8 kB / 3.206 GB, free: 11.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007718/11.98, allocations: 1.102 MB / 3.207 GB, free: 10.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01206/11.99, allocations: 1.508 MB / 3.209 GB, free: 8.754 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001579/11.99, allocations: 0.7071 MB / 3.209 GB, free: 8.098 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/11.99, allocations: 7.938 kB / 3.209 GB, free: 8.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/11.99, allocations: 0.679 MB / 3.21 GB, free: 7.457 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/11.99, allocations: 148.1 kB / 3.21 GB, free: 7.352 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08752/12.08, allocations: 14.39 MB / 3.224 GB, free: 9.445 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/12.08, allocations: 0.9703 MB / 3.225 GB, free: 8.449 MB / 490.7 MB Notification: Performance of SimCode: time 2.164e-06/12.08, allocations: 448 / 3.225 GB, free: 8.449 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat