Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.NandGate,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_NandGate",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.773/1.773, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3353/2.109, allocations: 46.83 MB / 249.3 MB, free: 5.375 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/2.203, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3102/2.513, allocations: 74.54 MB / 368.4 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/2.514, allocations: 74.92 kB / 368.5 MB, free: 7.152 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.05844/2.572, allocations: 11.17 MB / 379.6 MB, free: 4.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/2.572, allocations: 11.41 kB / 379.6 MB, free: 4.871 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/2.573, allocations: 70.06 kB / 379.7 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008715/2.574, allocations: 426.2 kB / 380.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/2.574, allocations: 23.5 kB / 380.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/2.574, allocations: 34.66 kB / 380.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001777/2.576, allocations: 0.5628 MB / 380.7 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/2.577, allocations: 0.6528 MB / 381.4 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/2.577, allocations: 4 kB / 381.4 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/2.577, allocations: 3.938 kB / 381.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/2.578, allocations: 15.44 kB / 381.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008204/2.586, allocations: 3.106 MB / 384.5 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/2.587, allocations: 426.5 kB / 384.9 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/2.587, allocations: 264.4 kB / 385.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/2.588, allocations: 19.84 kB / 385.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007178/2.588, allocations: 295.5 kB / 385.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.697e-06/2.588, allocations: 0 / 385.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.001487/2.59, allocations: 483.2 kB / 386 MB, free: 18.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/2.59, allocations: 268.7 kB / 386.2 MB, free: 17.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/2.591, allocations: 410.6 kB / 386.6 MB, free: 17.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/2.591, allocations: 25.7 kB / 386.7 MB, free: 17.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/2.591, allocations: 290.2 kB / 386.9 MB, free: 17.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/2.591, allocations: 163.2 kB / 387.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/2.591, allocations: 0 / 387.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/2.591, allocations: 365.3 kB / 387.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006858/2.592, allocations: 237.6 kB / 387.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008201/2.593, allocations: 492.5 kB / 388.2 MB, free: 16.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007037/2.594, allocations: 269.4 kB / 388.4 MB, free: 16.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/2.594, allocations: 3.938 kB / 388.4 MB, free: 16.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001957/2.596, allocations: 0.7002 MB / 389.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/2.596, allocations: 4.719 kB / 389.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/2.596, allocations: 7.75 kB / 389.2 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-05/2.596, allocations: 15.66 kB / 389.2 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/2.598, allocations: 275.6 kB / 389.4 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/2.598, allocations: 11.7 kB / 389.4 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/2.6, allocations: 223.9 kB / 389.7 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/2.6, allocations: 29.56 kB / 389.7 MB, free: 16.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.VIN1.signalSource.T_start,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.count,VIN1.signalSource.count,$PRE.VIN2.signalSource.T_start,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.count,VIN2.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 2 * 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.0002831/2.601, allocations: 138.9 kB / 389.8 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/2.601, allocations: 62.62 kB / 389.9 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/2.601, allocations: 56.11 kB / 389.9 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/2.601, allocations: 3.875 kB / 390 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/2.601, allocations: 0 / 390 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/2.601, allocations: 3.984 kB / 390 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009938/2.602, allocations: 0.6256 MB / 390.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.602, allocations: 4 kB / 390.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/2.604, allocations: 201.8 kB / 390.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/2.604, allocations: 0 / 390.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/2.604, allocations: 11.16 kB / 390.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-06/2.604, allocations: 11.72 kB / 390.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.604, allocations: 0 / 390.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002158/2.606, allocations: 0.7942 MB / 391.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00297/2.609, allocations: 1.483 MB / 393.1 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/2.61, allocations: 141.2 kB / 393.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/2.61, allocations: 3.875 kB / 393.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/2.612, allocations: 159.1 kB / 393.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/2.612, allocations: 56.58 kB / 393.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/2.612, allocations: 18.05 kB / 393.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0005276/2.612, allocations: 295.1 kB / 393.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001747/2.614, allocations: 150.5 kB / 393.9 MB, free: 14.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN2.signalSource.count,VIN1.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003028/2.615, allocations: 120.7 kB / 394 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001721/2.616, allocations: 0.6326 MB / 394.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/2.616, allocations: 1.688 kB / 394.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007236/2.617, allocations: 280.3 kB / 394.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007629/2.618, allocations: 59.84 kB / 395 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/2.621, allocations: 0.8558 MB / 395.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/2.622, allocations: 0.9424 MB / 396.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.283e-06/2.622, allocations: 0 / 396.8 MB, free: 13.25 MB / 314.7 MB