Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.257/2.257, allocations: 248.6 MB / 255.9 MB, free: 7.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001907/0.001907, allocations: 181.3 kB / 315.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.1 MB / 0.5658 GB, free: 368 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 82.2 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5118/0.5131, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.7457, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7516/1.497, allocations: 153.7 MB / 1.034 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005248/1.498, allocations: 95.94 kB / 1.034 GB, free: 3.949 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.07321/1.571, allocations: 14.18 MB / 1.048 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.571, allocations: 12 kB / 1.048 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/1.572, allocations: 71.72 kB / 1.048 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/1.573, allocations: 241.3 kB / 1.048 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/1.573, allocations: 7.984 kB / 1.048 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/1.573, allocations: 8 kB / 1.048 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005881/1.574, allocations: 188.2 kB / 1.048 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/1.574, allocations: 293.1 kB / 1.048 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/1.574, allocations: 3.938 kB / 1.048 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/1.574, allocations: 4 kB / 1.048 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/1.574, allocations: 19.48 kB / 1.048 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/1.577, allocations: 1.582 MB / 1.05 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/1.578, allocations: 184.6 kB / 1.05 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/1.578, allocations: 90.8 kB / 1.05 GB, free: 5.508 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/1.578, allocations: 88.47 kB / 1.05 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/1.578, allocations: 30.56 kB / 1.05 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 3.567e-06/1.578, allocations: 4 kB / 1.05 GB, free: 5.363 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.001104/1.579, allocations: 274.9 kB / 1.051 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/1.579, allocations: 81.2 kB / 1.051 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/1.579, allocations: 148.3 kB / 1.051 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/1.579, allocations: 25.7 kB / 1.051 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/1.58, allocations: 150.7 kB / 1.051 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/1.58, allocations: 49.64 kB / 1.051 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/1.58, allocations: 0 / 1.051 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.58, allocations: 322.6 kB / 1.051 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/1.58, allocations: 80.95 kB / 1.051 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/1.58, allocations: 156 kB / 1.052 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/1.581, allocations: 127.3 kB / 1.052 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.581, allocations: 4 kB / 1.052 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008337/1.582, allocations: 285.3 kB / 1.052 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004705/1.582, allocations: 0.9579 MB / 1.053 GB, free: 2.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/1.582, allocations: 0 / 1.053 GB, free: 2.809 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/1.582, allocations: 4 kB / 1.053 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/1.583, allocations: 55.81 kB / 1.053 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.583, allocations: 7.938 kB / 1.053 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/1.583, allocations: 15.92 kB / 1.053 GB, free: 2.727 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/1.583, allocations: 11.62 kB / 1.053 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/1.583, allocations: 4 kB / 1.053 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007525/1.584, allocations: 217.8 kB / 1.053 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.584, allocations: 4 kB / 1.053 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/1.584, allocations: 4 kB / 1.053 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/1.585, allocations: 51.28 kB / 1.053 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.585, allocations: 8.297 kB / 1.053 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/1.585, allocations: 15.89 kB / 1.053 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/1.585, allocations: 8 kB / 1.053 GB, free: 2.461 MB / 0.6667 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 (25): * Single equations (assignments): 25 * 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.0002412/1.585, allocations: 108.9 kB / 1.053 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/1.585, allocations: 15.75 kB / 1.053 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/1.586, allocations: 237.2 kB / 1.054 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.587, allocations: 0 / 1.054 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/1.587, allocations: 4 kB / 1.054 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.587, allocations: 3.938 kB / 1.054 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/1.589, allocations: 1.041 MB / 1.055 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.589, allocations: 8.031 kB / 1.055 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/1.59, allocations: 31.97 kB / 1.055 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/1.59, allocations: 4 kB / 1.055 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/1.59, allocations: 7.938 kB / 1.055 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/1.59, allocations: 4 kB / 1.055 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/1.59, allocations: 4 kB / 1.055 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008727/1.591, allocations: 0.5286 MB / 1.055 GB, free: 428 kB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001063/1.592, allocations: 0.9082 MB / 1.056 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/1.592, allocations: 104.9 kB / 1.056 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/1.592, allocations: 15.83 kB / 1.056 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/1.592, allocations: 8 kB / 1.056 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.543e-05/1.592, allocations: 23.61 kB / 1.056 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/1.592, allocations: 8 kB / 1.056 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001626/1.592, allocations: 121.6 kB / 1.056 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002931/1.595, allocations: 90.91 kB / 1.056 GB, free: 15.08 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0003052/1.596, allocations: 123 kB / 1.057 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008895/1.597, allocations: 306.6 kB / 1.057 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.597, allocations: 0 / 1.057 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/1.597, allocations: 95.12 kB / 1.057 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/1.597, allocations: 23.48 kB / 1.057 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/1.599, allocations: 374.7 kB / 1.057 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000887/1.6, allocations: 0.7759 MB / 1.058 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of SimCode: time 1.984e-06/1.6, allocations: 0 / 1.058 GB, free: 13.46 MB / 0.6823 GB