Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",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.943/1.943, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2401/2.183, allocations: 46.84 MB / 249.3 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/2.276, allocations: 44.5 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3053/2.582, allocations: 83.29 MB / 377.1 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/2.582, allocations: 88.06 kB / 377.2 MB, free: 6.996 MB / 298.7 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.09531/2.677, allocations: 22.25 MB / 399.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/2.677, allocations: 8.969 kB / 399.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000743/2.678, allocations: 126.3 kB / 399.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/2.681, allocations: 0.6537 MB / 400.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/2.681, allocations: 48.88 kB / 400.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/2.681, allocations: 58.19 kB / 400.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003175/2.684, allocations: 0.7196 MB / 401.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/2.688, allocations: 0.7978 MB / 401.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.441e-05/2.688, allocations: 7.875 kB / 401.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/2.688, allocations: 5.266 kB / 401.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/2.688, allocations: 26.78 kB / 401.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/2.7, allocations: 3.69 MB / 405.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/2.702, allocations: 0.5563 MB / 406.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/2.704, allocations: 353.8 kB / 406.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/2.704, allocations: 13.23 kB / 406.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/2.704, allocations: 44.97 kB / 406.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 3.286e-06/2.704, allocations: 0 / 406.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.006151/2.71, allocations: 1.4 MB / 408 MB, free: 11.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/2.71, allocations: 85.55 kB / 408.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/2.712, allocations: 0.6877 MB / 408.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002074/2.712, allocations: 25.7 kB / 408.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/2.713, allocations: 415.3 kB / 409.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000404/2.713, allocations: 286.7 kB / 409.5 MB, free: 9.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/2.713, allocations: 0 / 409.5 MB, free: 9.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002782/2.713, allocations: 392.8 kB / 409.8 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009959/2.715, allocations: 285.2 kB / 410.1 MB, free: 9.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/2.716, allocations: 439.8 kB / 410.5 MB, free: 9.086 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/2.717, allocations: 313.3 kB / 410.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/2.717, allocations: 0 / 410.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002931/2.72, allocations: 0.8512 MB / 411.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/2.72, allocations: 8 kB / 411.7 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/2.72, allocations: 4 kB / 411.7 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/2.72, allocations: 8 kB / 411.7 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/2.723, allocations: 376.9 kB / 412.1 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/2.723, allocations: 8 kB / 412.1 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/2.725, allocations: 115.9 kB / 412.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/2.726, allocations: 31.31 kB / 412.2 MB, free: 7.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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.0003018/2.726, allocations: 133.5 kB / 412.4 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/2.727, allocations: 86.97 kB / 412.5 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/2.728, allocations: 334 kB / 412.8 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/2.728, allocations: 15.91 kB / 412.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/2.728, allocations: 0 / 412.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/2.728, allocations: 7.984 kB / 412.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007986/2.736, allocations: 2.658 MB / 415.5 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/2.736, allocations: 8 kB / 415.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/2.738, allocations: 287.4 kB / 415.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.611e-05/2.738, allocations: 19.98 kB / 415.8 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/2.739, allocations: 16.56 kB / 415.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/2.739, allocations: 23.86 kB / 415.8 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.811e-05/2.739, allocations: 15.94 kB / 415.8 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002949/2.742, allocations: 1.611 MB / 417.4 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003039/2.745, allocations: 2.009 MB / 419.5 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005959/2.745, allocations: 192 kB / 419.6 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/2.746, allocations: 19.98 kB / 419.7 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/2.748, allocations: 79.94 kB / 419.7 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/2.748, allocations: 79.67 kB / 419.8 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/2.748, allocations: 32 kB / 419.8 MB, free: 244 kB / 314.7 MB Notification: Performance of sort global known variables: time 0.001319/2.749, allocations: 0.5191 MB / 420.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002801/2.752, allocations: 207.9 kB / 420.6 MB, free: 15.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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 Backend phase and start with SimCode phase: time 0.0008985/2.753, allocations: 250.8 kB / 420.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002399/2.756, allocations: 0.7053 MB / 421.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/2.756, allocations: 256 / 421.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/2.757, allocations: 386 kB / 421.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/2.759, allocations: 143.2 kB / 422 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006036/2.765, allocations: 1.546 MB / 423.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/2.767, allocations: 1.144 MB / 424.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.744e-06/2.767, allocations: 0 / 424.7 MB, free: 11.21 MB / 330.7 MB