Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",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.462/4.462, allocations: 404 MB / 410.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.453/4.915, allocations: 95.01 MB / 0.4941 GB, free: 1.633 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/5.179, allocations: 92.67 MB / 0.5846 GB, free: 4.785 MB / 494.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6961/5.875, allocations: 141.4 MB / 0.7227 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004947/5.876, allocations: 83.94 kB / 0.7227 GB, free: 13.96 MB / 0.5919 GB [/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);. [/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);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.05567/5.931, allocations: 9.466 MB / 0.732 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/5.932, allocations: 16 kB / 0.732 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/5.933, allocations: 55.77 kB / 0.7321 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/5.933, allocations: 214.8 kB / 0.7323 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/5.933, allocations: 4 kB / 0.7323 GB, free: 4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/5.934, allocations: 8 kB / 0.7323 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006385/5.934, allocations: 128.2 kB / 0.7324 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/5.935, allocations: 206.4 kB / 0.7326 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/5.935, allocations: 0 / 0.7326 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/5.935, allocations: 4 kB / 0.7326 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.755e-05/5.935, allocations: 20.2 kB / 0.7326 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/5.938, allocations: 0.9083 MB / 0.7335 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/5.938, allocations: 30.52 kB / 0.7335 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/5.938, allocations: 12.77 kB / 0.7335 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/5.938, allocations: 4 kB / 0.7335 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/5.938, allocations: 38.64 kB / 0.7336 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 4.9e-06/5.938, allocations: 0 / 0.7336 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0003361/5.939, allocations: 49.59 kB / 0.7336 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/5.939, allocations: 59.34 kB / 0.7337 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/5.939, allocations: 129.5 kB / 0.7338 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/5.939, allocations: 25.7 kB / 0.7338 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/5.939, allocations: 147.2 kB / 0.734 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/5.939, allocations: 15.89 kB / 0.734 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/5.939, allocations: 0 / 0.734 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002135/5.94, allocations: 314.8 kB / 0.7343 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/5.94, allocations: 23.98 kB / 0.7343 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/5.94, allocations: 81.39 kB / 0.7344 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/5.94, allocations: 35.97 kB / 0.7344 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/5.94, allocations: 3.906 kB / 0.7344 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005442/5.941, allocations: 113.5 kB / 0.7345 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005333/5.941, allocations: 0.9651 MB / 0.7355 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/5.941, allocations: 0 / 0.7355 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/5.941, allocations: 7.906 kB / 0.7355 GB, free: 428 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/5.942, allocations: 23.98 kB / 0.7355 GB, free: 404 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/5.942, allocations: 8 kB / 0.7355 GB, free: 396 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/5.942, allocations: 15.78 kB / 0.7355 GB, free: 380 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/5.942, allocations: 12 kB / 0.7355 GB, free: 368 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/5.942, allocations: 4 kB / 0.7355 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002999/5.942, allocations: 67.78 kB / 0.7356 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/5.942, allocations: 4.312 kB / 0.7356 GB, free: 292 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/5.942, allocations: 8 kB / 0.7356 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/5.943, allocations: 27.98 kB / 0.7357 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/5.943, allocations: 11.88 kB / 0.7357 GB, free: 244 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/5.943, allocations: 11.84 kB / 0.7357 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/5.943, allocations: 4 kB / 0.7357 GB, free: 228 kB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 0.0001207/5.943, allocations: 109 kB / 0.7358 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/5.943, allocations: 7.906 kB / 0.7358 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/5.943, allocations: 8.125 kB / 0.7358 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/5.943, allocations: 4 kB / 0.7358 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/5.943, allocations: 4 kB / 0.7358 GB, free: 80 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/5.943, allocations: 3.906 kB / 0.7358 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009169/5.944, allocations: 412.8 kB / 0.7362 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/5.944, allocations: 0 / 0.7362 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/5.944, allocations: 7.938 kB / 0.7362 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/5.944, allocations: 0 / 0.7362 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/5.944, allocations: 12.09 kB / 0.7362 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/5.944, allocations: 0 / 0.7362 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/5.944, allocations: 0 / 0.7362 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002195/5.944, allocations: 122.1 kB / 0.7363 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003753/5.945, allocations: 0.4907 MB / 0.7368 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/5.945, allocations: 92.94 kB / 0.7369 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/5.945, allocations: 4 kB / 0.7369 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/5.945, allocations: 4 kB / 0.7369 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/5.945, allocations: 4 kB / 0.7369 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/5.945, allocations: 0 / 0.7369 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of sort global known variables: time 0.0001327/5.945, allocations: 106.1 kB / 0.737 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002672/5.948, allocations: 63.69 kB / 0.7371 GB, free: 14.62 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001991/5.948, allocations: 107 kB / 0.7372 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003581/5.949, allocations: 95.8 kB / 0.7373 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/5.949, allocations: 0 / 0.7373 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/5.949, allocations: 15.92 kB / 0.7373 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/5.949, allocations: 13.56 kB / 0.7373 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/5.95, allocations: 174.5 kB / 0.7375 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/5.95, allocations: 0.7388 MB / 0.7382 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of SimCode: time 3.958e-06/5.95, allocations: 0 / 0.7382 GB, free: 13.43 MB / 0.6075 GB