Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_HeatTransfer_Examples_Motor",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 2.229/2.229, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2778/2.507, allocations: 46.83 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/2.611, allocations: 44.5 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.347/2.958, allocations: 73.69 MB / 367.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/2.959, allocations: 72.81 kB / 367.7 MB, free: 7.16 MB / 298.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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.0249/2.984, allocations: 5.394 MB / 373.1 MB, free: 6.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/2.984, allocations: 11.59 kB / 373.1 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/2.984, allocations: 31.7 kB / 373.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/2.985, allocations: 252.5 kB / 373.4 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/2.985, allocations: 8.25 kB / 373.4 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/2.985, allocations: 11.69 kB / 373.4 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004292/2.985, allocations: 113.8 kB / 373.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/2.986, allocations: 142.3 kB / 373.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/2.986, allocations: 4.688 kB / 373.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/2.986, allocations: 0 / 373.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/2.986, allocations: 3.906 kB / 373.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/2.987, allocations: 0.5535 MB / 374.2 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/2.987, allocations: 103.1 kB / 374.3 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/2.988, allocations: 81.44 kB / 374.4 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/2.988, allocations: 3.875 kB / 374.4 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/2.988, allocations: 110.5 kB / 374.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 3.337e-06/2.988, allocations: 0 / 374.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005578/2.989, allocations: 161.5 kB / 374.6 MB, free: 5.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/2.989, allocations: 59.25 kB / 374.7 MB, free: 5.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/2.989, allocations: 205.2 kB / 374.9 MB, free: 5.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/2.989, allocations: 29.58 kB / 374.9 MB, free: 5.492 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/2.989, allocations: 128.1 kB / 375 MB, free: 5.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.024e-05/2.989, allocations: 69.02 kB / 375.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/2.989, allocations: 3.938 kB / 375.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/2.989, allocations: 329 kB / 375.4 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/2.99, allocations: 59.64 kB / 375.5 MB, free: 5.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/2.99, allocations: 98.22 kB / 375.6 MB, free: 4.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/2.99, allocations: 78.84 kB / 375.7 MB, free: 4.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/2.99, allocations: 0.6094 kB / 375.7 MB, free: 4.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006809/2.991, allocations: 229.4 kB / 375.9 MB, free: 20.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/2.991, allocations: 7.688 kB / 375.9 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/2.991, allocations: 4.453 kB / 375.9 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/2.991, allocations: 0 / 375.9 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/2.991, allocations: 44.77 kB / 376 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/2.991, allocations: 0.5156 kB / 376 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/2.992, allocations: 28.81 kB / 376 MB, free: 20.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/2.992, allocations: 12.22 kB / 376 MB, free: 20.91 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.0001366/2.992, allocations: 109.5 kB / 376.1 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/2.992, allocations: 24.02 kB / 376.1 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006114/2.993, allocations: 190.2 kB / 376.3 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/2.993, allocations: 0 / 376.3 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/2.993, allocations: 0.7969 kB / 376.3 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/2.993, allocations: 1.312 kB / 376.3 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/2.993, allocations: 263.9 kB / 376.6 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/2.993, allocations: 0 / 376.6 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/2.994, allocations: 46.73 kB / 376.6 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/2.994, allocations: 0 / 376.6 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/2.994, allocations: 4.484 kB / 376.6 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/2.994, allocations: 0.7969 kB / 376.6 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.994, allocations: 0 / 376.6 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007056/2.995, allocations: 280.4 kB / 376.9 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001132/2.996, allocations: 0.722 MB / 377.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/2.996, allocations: 116.6 kB / 377.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/2.996, allocations: 4.672 kB / 377.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/2.996, allocations: 9.703 kB / 377.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/2.996, allocations: 12.05 kB / 377.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/2.996, allocations: 4.469 kB / 377.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000264/2.997, allocations: 169.7 kB / 377.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001461/2.998, allocations: 74.78 kB / 378 MB, free: 19.83 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.001056/2.999, allocations: 320 kB / 378.3 MB, free: 19.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005643/3, allocations: 203.5 kB / 378.5 MB, free: 19.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/3, allocations: 0 / 378.5 MB, free: 19.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/3, allocations: 78.81 kB / 378.6 MB, free: 19.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/3, allocations: 34.58 kB / 378.6 MB, free: 19.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/3.002, allocations: 405.2 kB / 379 MB, free: 19.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005621/3.002, allocations: 0.7865 MB / 379.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/3.002, allocations: 3.969 kB / 379.8 MB, free: 18.67 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat does not exist to compare? outputFormat=mat