Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",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(Buildings): time 4.367/4.367, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2673/4.634, allocations: 95.01 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6138/5.248, allocations: 92.67 MB / 0.5846 GB, free: 3.277 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3056/5.553, allocations: 145.4 MB / 0.7266 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003901/5.554, allocations: 91.94 kB / 0.7267 GB, free: 4.023 MB / 0.6042 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.05289/5.607, allocations: 11.31 MB / 0.7377 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/5.607, allocations: 12 kB / 0.7378 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/5.608, allocations: 83.64 kB / 0.7378 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/5.609, allocations: 238.7 kB / 0.7381 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/5.609, allocations: 4 kB / 0.7381 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/5.609, allocations: 15.98 kB / 0.7381 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006278/5.61, allocations: 172.8 kB / 0.7383 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000777/5.61, allocations: 258.9 kB / 0.7385 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/5.61, allocations: 11.98 kB / 0.7385 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/5.611, allocations: 0 / 0.7385 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.281e-05/5.611, allocations: 12.38 kB / 0.7385 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/5.613, allocations: 1.06 MB / 0.7396 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/5.614, allocations: 98.47 kB / 0.7397 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/5.614, allocations: 28.86 kB / 0.7397 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/5.614, allocations: 0 / 0.7397 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/5.614, allocations: 34.56 kB / 0.7397 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.146e-06/5.614, allocations: 4 kB / 0.7397 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005419/5.614, allocations: 110.3 kB / 0.7398 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/5.615, allocations: 51.41 kB / 0.7399 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/5.615, allocations: 161.6 kB / 0.74 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/5.615, allocations: 25.7 kB / 0.74 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/5.615, allocations: 161.2 kB / 0.7402 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/5.615, allocations: 27.64 kB / 0.7402 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/5.615, allocations: 4 kB / 0.7402 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001572/5.615, allocations: 322.8 kB / 0.7405 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/5.615, allocations: 31.94 kB / 0.7406 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/5.616, allocations: 100.6 kB / 0.7407 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/5.616, allocations: 51.92 kB / 0.7407 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/5.616, allocations: 0 / 0.7407 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005901/5.616, allocations: 186.2 kB / 0.7409 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/5.616, allocations: 8 kB / 0.7409 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/5.616, allocations: 0 / 0.7409 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/5.617, allocations: 20.84 kB / 0.7409 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/5.617, allocations: 31.98 kB / 0.741 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/5.619, allocations: 1.256 MB / 0.7422 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/5.619, allocations: 11.88 kB / 0.7422 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/5.619, allocations: 12.16 kB / 0.7422 GB, free: 3.578 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/5.619, allocations: 112.8 kB / 0.7423 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/5.619, allocations: 7.906 kB / 0.7423 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/5.619, allocations: 17.41 kB / 0.7423 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/5.619, allocations: 3.984 kB / 0.7423 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/5.619, allocations: 4 kB / 0.7423 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/5.619, allocations: 7.906 kB / 0.7423 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/5.62, allocations: 206.2 kB / 0.7425 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/5.62, allocations: 4 kB / 0.7425 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-05/5.62, allocations: 4 kB / 0.7426 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/5.62, allocations: 24.84 kB / 0.7426 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/5.62, allocations: 0 / 0.7426 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/5.622, allocations: 1.248 MB / 0.7438 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/5.622, allocations: 4.031 kB / 0.7438 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006613/5.623, allocations: 208.3 kB / 0.744 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007887/5.624, allocations: 0.5709 MB / 0.7446 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/5.624, allocations: 100.9 kB / 0.7446 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/5.624, allocations: 0 / 0.7446 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/5.625, allocations: 7.938 kB / 0.7447 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/5.625, allocations: 11.92 kB / 0.7447 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/5.625, allocations: 4 kB / 0.7447 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0002798/5.625, allocations: 120.3 kB / 0.7448 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002902/5.628, allocations: 51.75 kB / 0.7448 GB, free: 0.6562 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000302/5.628, allocations: 106.5 kB / 0.7449 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008979/5.629, allocations: 194 kB / 0.7451 GB, free: 356 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/5.629, allocations: 0 / 0.7451 GB, free: 356 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/5.63, allocations: 141.6 kB / 0.7453 GB, free: 204 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/5.63, allocations: 29.25 kB / 0.7453 GB, free: 176 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/5.632, allocations: 232.2 kB / 0.7455 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008628/5.633, allocations: 0.7713 MB / 0.7463 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of SimCode: time 1.793e-06/5.633, allocations: 0 / 0.7463 GB, free: 15.13 MB / 0.6355 GB