Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_HeatTransfer_Examples_Motor",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.642/1.642, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2363/1.879, allocations: 46.82 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/1.968, allocations: 44.51 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2764/2.245, allocations: 73.68 MB / 367.5 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/2.245, allocations: 74.69 kB / 367.6 MB, free: 7.129 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.02096/2.266, allocations: 5.393 MB / 373 MB, free: 6.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/2.266, allocations: 7.875 kB / 373 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/2.266, allocations: 36.7 kB / 373 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/2.267, allocations: 260.6 kB / 373.3 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/2.267, allocations: 3.844 kB / 373.3 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/2.267, allocations: 16.2 kB / 373.3 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003607/2.267, allocations: 110 kB / 373.4 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/2.268, allocations: 144.6 kB / 373.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/2.268, allocations: 0.6562 kB / 373.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/2.268, allocations: 0 / 373.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/2.268, allocations: 3.844 kB / 373.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/2.269, allocations: 0.5588 MB / 374.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/2.269, allocations: 99.5 kB / 374.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/2.269, allocations: 86.11 kB / 374.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/2.269, allocations: 3.984 kB / 374.3 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/2.27, allocations: 108 kB / 374.4 MB, free: 5.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.605e-06/2.27, allocations: 0 / 374.4 MB, free: 5.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004583/2.27, allocations: 167 kB / 374.6 MB, free: 5.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/2.27, allocations: 63.16 kB / 374.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/2.27, allocations: 202.4 kB / 374.8 MB, free: 5.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/2.27, allocations: 29.55 kB / 374.9 MB, free: 5.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/2.271, allocations: 126.6 kB / 375 MB, free: 5.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/2.271, allocations: 71.88 kB / 375.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/2.271, allocations: 0 / 375.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/2.271, allocations: 327.4 kB / 375.4 MB, free: 21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/2.271, allocations: 62.64 kB / 375.4 MB, free: 20.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/2.271, allocations: 99.31 kB / 375.5 MB, free: 20.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/2.271, allocations: 75.19 kB / 375.6 MB, free: 20.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/2.271, allocations: 0 / 375.6 MB, free: 20.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005293/2.272, allocations: 232.8 kB / 375.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/2.272, allocations: 3.969 kB / 375.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/2.272, allocations: 4.703 kB / 375.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/2.272, allocations: 3.875 kB / 375.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/2.272, allocations: 47.5 kB / 375.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/2.272, allocations: 4.453 kB / 375.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/2.273, allocations: 21.39 kB / 375.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/2.273, allocations: 8.266 kB / 375.9 MB, free: 20.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.0001097/2.273, allocations: 109.4 kB / 376 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/2.273, allocations: 31.56 kB / 376.1 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/2.273, allocations: 186.9 kB / 376.2 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/2.273, allocations: 3.906 kB / 376.3 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/2.273, allocations: 0 / 376.3 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/2.273, allocations: 1.453 kB / 376.3 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/2.274, allocations: 255 kB / 376.5 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/2.274, allocations: 0 / 376.5 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/2.274, allocations: 42.91 kB / 376.5 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/2.274, allocations: 3.812 kB / 376.5 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/2.274, allocations: 4.844 kB / 376.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/2.274, allocations: 0 / 376.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.274, allocations: 0.6094 kB / 376.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006144/2.275, allocations: 278.7 kB / 376.8 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008831/2.276, allocations: 0.7191 MB / 377.5 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/2.276, allocations: 123.1 kB / 377.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/2.276, allocations: 0.8438 kB / 377.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/2.276, allocations: 12.31 kB / 377.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/2.276, allocations: 12.69 kB / 377.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/2.276, allocations: 8.562 kB / 377.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.00022/2.277, allocations: 166.8 kB / 377.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001382/2.278, allocations: 71.78 kB / 377.9 MB, free: 19.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.0007972/2.279, allocations: 306.9 kB / 378.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005175/2.279, allocations: 198.6 kB / 378.4 MB, free: 19.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.279, allocations: 0 / 378.4 MB, free: 19.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/2.28, allocations: 69.48 kB / 378.5 MB, free: 19.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/2.28, allocations: 34.27 kB / 378.5 MB, free: 19.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/2.281, allocations: 412.5 kB / 378.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/2.282, allocations: 0.7899 MB / 379.7 MB, free: 18.63 MB / 314.7 MB Notification: Performance of SimCode: time 1.322e-06/2.282, allocations: 0 / 379.7 MB, free: 18.63 MB / 314.7 MB