Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",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.618/1.618, allocations: 194.9 MB / 202.5 MB, free: 14.32 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.241/1.859, allocations: 46.85 MB / 249.4 MB, free: 14.24 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/1.979, allocations: 44.49 MB / 293.8 MB, free: 1.676 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3408/2.32, allocations: 81.78 MB / 375.6 MB, free: 4.543 MB / 290.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/2.32, allocations: 77.8 kB / 375.7 MB, free: 4.531 MB / 290.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Magnetic/FluxTubes.mo:1375:11-1375:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.1679/2.488, allocations: 36.42 MB / 412.1 MB, free: 11.34 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/2.488, allocations: 8 kB / 412.1 MB, free: 11.33 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006433/2.489, allocations: 118.6 kB / 412.2 MB, free: 11.21 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/2.491, allocations: 0.6004 MB / 412.8 MB, free: 10.71 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/2.491, allocations: 47.19 kB / 412.9 MB, free: 10.67 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003777/2.491, allocations: 67.2 kB / 412.9 MB, free: 10.61 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002959/2.494, allocations: 0.7278 MB / 413.7 MB, free: 10.17 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/2.498, allocations: 0.8004 MB / 414.5 MB, free: 9.613 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.935e-05/2.498, allocations: 7.031 kB / 414.5 MB, free: 9.609 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/2.498, allocations: 8 kB / 414.5 MB, free: 9.602 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/2.498, allocations: 20 kB / 414.5 MB, free: 9.582 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/2.509, allocations: 3.398 MB / 417.9 MB, free: 6.219 MB / 322.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/2.51, allocations: 497.2 kB / 418.4 MB, free: 5.711 MB / 322.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/2.512, allocations: 432.2 kB / 418.8 MB, free: 5.285 MB / 322.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/2.512, allocations: 16.48 kB / 418.8 MB, free: 5.27 MB / 322.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/2.512, allocations: 50.81 kB / 418.9 MB, free: 5.211 MB / 322.8 MB Notification: Performance of pre-optimization done (n=95): time 4.308e-06/2.512, allocations: 0 / 418.9 MB, free: 5.211 MB / 322.8 MB Notification: Performance of matching and sorting (n=131): time 0.01396/2.526, allocations: 3.633 MB / 422.5 MB, free: 1.395 MB / 322.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/2.526, allocations: 90.2 kB / 422.6 MB, free: 1.289 MB / 322.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/2.527, allocations: 466.1 kB / 423.1 MB, free: 0.8242 MB / 322.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002564/2.527, allocations: 25.7 kB / 423.1 MB, free: 0.793 MB / 322.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/2.528, allocations: 352.2 kB / 423.4 MB, free: 452 kB / 322.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006039/2.528, allocations: 425.6 kB / 423.8 MB, free: 20 kB / 322.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/2.528, allocations: 0 / 423.8 MB, free: 20 kB / 322.8 MB Notification: Performance of setup shared object (initialization): time 0.000311/2.529, allocations: 402.6 kB / 424.2 MB, free: 15.62 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/2.53, allocations: 346.5 kB / 424.6 MB, free: 15.27 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/2.532, allocations: 482 kB / 425 MB, free: 14.77 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/2.533, allocations: 401.2 kB / 425.4 MB, free: 14.38 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/2.533, allocations: 0 / 425.4 MB, free: 14.38 MB / 338.8 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003964/2.537, allocations: 1.103 MB / 426.5 MB, free: 13.26 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/2.537, allocations: 7.984 kB / 426.5 MB, free: 13.25 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/2.537, allocations: 4 kB / 426.6 MB, free: 13.25 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007926/2.538, allocations: 138.6 kB / 426.7 MB, free: 13.1 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/2.541, allocations: 299.6 kB / 427 MB, free: 12.81 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006245/2.547, allocations: 4.536 MB / 431.5 MB, free: 7.922 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/2.549, allocations: 60.02 kB / 431.6 MB, free: 7.863 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/2.549, allocations: 47.98 kB / 431.6 MB, free: 7.816 MB / 338.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003774/2.55, allocations: 128.6 kB / 431.7 MB, free: 7.684 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/2.55, allocations: 94.86 kB / 431.8 MB, free: 7.59 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/2.552, allocations: 0.7047 MB / 432.5 MB, free: 6.867 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/2.553, allocations: 19.94 kB / 432.6 MB, free: 6.848 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/2.553, allocations: 3.906 kB / 432.6 MB, free: 6.844 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.032e-05/2.553, allocations: 7.984 kB / 432.6 MB, free: 6.836 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008421/2.561, allocations: 2.731 MB / 435.3 MB, free: 3.992 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/2.561, allocations: 11.88 kB / 435.3 MB, free: 3.98 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/2.564, allocations: 259.9 kB / 435.6 MB, free: 3.727 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007369/2.564, allocations: 126.5 kB / 435.7 MB, free: 3.594 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002368/2.565, allocations: 11.98 kB / 435.7 MB, free: 3.582 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005104/2.57, allocations: 4.17 MB / 439.9 MB, free: 15.07 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/2.57, allocations: 4 kB / 439.9 MB, free: 15.06 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005163/2.575, allocations: 1.86 MB / 441.7 MB, free: 13.09 MB / 354.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00687/2.582, allocations: 2.745 MB / 444.5 MB, free: 10.22 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/2.582, allocations: 164 kB / 444.6 MB, free: 10.04 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003443/2.583, allocations: 4 kB / 444.7 MB, free: 10.04 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/2.584, allocations: 68.14 kB / 444.7 MB, free: 9.969 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/2.585, allocations: 80.39 kB / 444.8 MB, free: 9.891 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/2.585, allocations: 43.97 kB / 444.8 MB, free: 9.848 MB / 354.8 MB Notification: Performance of sort global known variables: time 0.0008394/2.586, allocations: 358.9 kB / 445.2 MB, free: 9.496 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.002721/2.589, allocations: 224 kB / 445.4 MB, free: 9.277 MB / 354.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.g_ma.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000547/2.589, allocations: 137.5 kB / 445.5 MB, free: 9.137 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.003902/2.593, allocations: 1.257 MB / 446.8 MB, free: 7.855 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/2.593, allocations: 0 / 446.8 MB, free: 7.855 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002324/2.595, allocations: 0.8432 MB / 447.6 MB, free: 6.977 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/2.597, allocations: 136.3 kB / 447.8 MB, free: 6.848 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/2.604, allocations: 1.755 MB / 449.5 MB, free: 5.027 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/2.606, allocations: 1.17 MB / 450.7 MB, free: 3.832 MB / 354.8 MB Notification: Performance of SimCode: time 1.693e-06/2.606, allocations: 4 kB / 450.7 MB, free: 3.828 MB / 354.8 MB