Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",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.587/1.587, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2266/1.813, allocations: 46.83 MB / 249.4 MB, free: 5.297 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/1.919, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2658/2.184, allocations: 73.71 MB / 367.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/2.185, allocations: 80.69 kB / 367.7 MB, free: 7.125 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.02309/2.208, allocations: 5.233 MB / 372.9 MB, free: 6.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/2.208, allocations: 7.625 kB / 372.9 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/2.208, allocations: 32.27 kB / 373 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/2.208, allocations: 243 kB / 373.2 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/2.208, allocations: 12.41 kB / 373.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/2.208, allocations: 11.56 kB / 373.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004036/2.209, allocations: 128.9 kB / 373.4 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/2.209, allocations: 154 kB / 373.5 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/2.209, allocations: 0 / 373.5 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/2.209, allocations: 1.172 kB / 373.5 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/2.209, allocations: 3.875 kB / 373.5 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/2.211, allocations: 0.8089 MB / 374.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/2.212, allocations: 116.1 kB / 374.4 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/2.212, allocations: 51.78 kB / 374.5 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/2.212, allocations: 0.5625 kB / 374.5 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/2.212, allocations: 105.5 kB / 374.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.825e-06/2.212, allocations: 3.984 kB / 374.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003521/2.213, allocations: 127.2 kB / 374.7 MB, free: 5.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/2.213, allocations: 81.69 kB / 374.8 MB, free: 5.383 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/2.213, allocations: 188.3 kB / 375 MB, free: 5.285 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/2.213, allocations: 29.45 kB / 375 MB, free: 5.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/2.213, allocations: 148.9 kB / 375.2 MB, free: 5.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/2.213, allocations: 42.89 kB / 375.2 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/2.213, allocations: 0 / 375.2 MB, free: 5.113 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/2.213, allocations: 328.7 kB / 375.5 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/2.213, allocations: 46.38 kB / 375.6 MB, free: 20.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/2.214, allocations: 99.53 kB / 375.7 MB, free: 20.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/2.214, allocations: 47.61 kB / 375.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/2.214, allocations: 0 / 375.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000442/2.214, allocations: 176.9 kB / 375.9 MB, free: 20.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/2.214, allocations: 3.938 kB / 375.9 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/2.214, allocations: 0.7969 kB / 375.9 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/2.214, allocations: 3.875 kB / 375.9 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/2.215, allocations: 65.52 kB / 376 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/2.215, allocations: 4.578 kB / 376 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/2.215, allocations: 42.14 kB / 376 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/2.215, allocations: 3.875 kB / 376 MB, free: 20.65 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.0001161/2.215, allocations: 121.1 kB / 376.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/2.216, allocations: 20.17 kB / 376.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/2.216, allocations: 23.73 kB / 376.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/2.216, allocations: 0 / 376.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/2.216, allocations: 3.938 kB / 376.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/2.216, allocations: 4.875 kB / 376.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/2.216, allocations: 238 kB / 376.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/2.216, allocations: 0 / 376.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/2.216, allocations: 51.45 kB / 376.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/2.216, allocations: 0 / 376.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/2.216, allocations: 0.6094 kB / 376.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/2.216, allocations: 0.5625 kB / 376.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.216, allocations: 3.906 kB / 376.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004657/2.217, allocations: 196.7 kB / 376.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007474/2.218, allocations: 0.6447 MB / 377.3 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.507e-05/2.218, allocations: 94.75 kB / 377.4 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/2.218, allocations: 8.297 kB / 377.4 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/2.218, allocations: 31.06 kB / 377.4 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/2.218, allocations: 18.56 kB / 377.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/2.218, allocations: 4.766 kB / 377.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001888/2.219, allocations: 148.5 kB / 377.6 MB, free: 19.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001246/2.22, allocations: 51.36 kB / 377.7 MB, free: 19.6 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001681/2.22, allocations: 111.5 kB / 377.8 MB, free: 19.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003649/2.22, allocations: 141 kB / 377.9 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/2.22, allocations: 0 / 377.9 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/2.221, allocations: 47.66 kB / 377.9 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/2.221, allocations: 31.02 kB / 378 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/2.222, allocations: 305.8 kB / 378.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/2.223, allocations: 0.7621 MB / 379 MB, free: 18.59 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/2.223, allocations: 0 / 379 MB, free: 18.59 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat