Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.27/2.27, allocations: 253.1 MB / 260.4 MB, free: 7.547 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002364/0.002364, allocations: 192.7 kB / 319.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 91.33 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.969e-06/1.01e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2089, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6622/0.8711, allocations: 153.7 MB / 1.038 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003718/0.8715, allocations: 93.73 kB / 1.038 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.05693/0.9285, allocations: 13.72 MB / 1.052 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.062e-05/0.9286, allocations: 4 kB / 1.052 GB, free: 6.824 MB / 0.6667 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.000844/0.9294, allocations: 468.5 kB / 1.052 GB, free: 6.332 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.9295, allocations: 12.03 kB / 1.052 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.9306, allocations: 75.7 kB / 1.052 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.931, allocations: 237.6 kB / 1.052 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.9311, allocations: 4 kB / 1.052 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.9311, allocations: 12 kB / 1.052 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006413/0.9318, allocations: 191.3 kB / 1.053 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/0.9325, allocations: 296.1 kB / 1.053 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.9325, allocations: 3.375 kB / 1.053 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.9325, allocations: 0 / 1.053 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.9326, allocations: 19.98 kB / 1.053 GB, free: 5.559 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.9351, allocations: 1.579 MB / 1.054 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.9355, allocations: 190.7 kB / 1.055 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.9358, allocations: 88.3 kB / 1.055 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.936, allocations: 81.11 kB / 1.055 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.9361, allocations: 34.56 kB / 1.055 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 6.703e-06/0.9361, allocations: 0 / 1.055 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.001112/0.9372, allocations: 283 kB / 1.055 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.9373, allocations: 81.11 kB / 1.055 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.9375, allocations: 140.9 kB / 1.055 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.9375, allocations: 29.69 kB / 1.055 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.9377, allocations: 147.4 kB / 1.055 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.9377, allocations: 51.02 kB / 1.056 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.9378, allocations: 0 / 1.056 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9379, allocations: 326.1 kB / 1.056 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.9381, allocations: 83.03 kB / 1.056 GB, free: 2.516 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.9384, allocations: 150.8 kB / 1.056 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.939, allocations: 127.2 kB / 1.056 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.939, allocations: 0 / 1.056 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009176/0.9399, allocations: 284.4 kB / 1.056 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005367/0.9405, allocations: 0.9592 MB / 1.057 GB, free: 1.031 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.9405, allocations: 7.984 kB / 1.057 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.9405, allocations: 7.938 kB / 1.057 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.941, allocations: 55.81 kB / 1.057 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.9411, allocations: 8 kB / 1.057 GB, free: 0.9531 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.9414, allocations: 15.92 kB / 1.057 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.9414, allocations: 11.94 kB / 1.057 GB, free: 0.9297 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.9414, allocations: 4 kB / 1.057 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007086/0.9421, allocations: 213.1 kB / 1.058 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.9422, allocations: 12.3 kB / 1.058 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.9422, allocations: 4 kB / 1.058 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.9426, allocations: 55.72 kB / 1.058 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.9426, allocations: 4 kB / 1.058 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.9428, allocations: 15.89 kB / 1.058 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.9428, allocations: 8 kB / 1.058 GB, free: 0.668 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.0001209/0.943, allocations: 104.9 kB / 1.058 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.934e-05/0.9431, allocations: 15.81 kB / 1.058 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007739/0.9439, allocations: 236.8 kB / 1.058 GB, free: 360 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.9439, allocations: 4 kB / 1.058 GB, free: 356 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9439, allocations: 0 / 1.058 GB, free: 356 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.9439, allocations: 0 / 1.058 GB, free: 356 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.9462, allocations: 1.053 MB / 1.059 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.9463, allocations: 0 / 1.059 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.9466, allocations: 31.92 kB / 1.059 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.9466, allocations: 4 kB / 1.059 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.9466, allocations: 8 kB / 1.059 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.9467, allocations: 4 kB / 1.059 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/0.9467, allocations: 15.92 kB / 1.059 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008797/0.9476, allocations: 0.5234 MB / 1.06 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.9478, allocations: 116.7 kB / 1.06 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.9478, allocations: 8 kB / 1.06 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.9481, allocations: 7.984 kB / 1.06 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.9482, allocations: 11.91 kB / 1.06 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.9482, allocations: 11.98 kB / 1.06 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001554/0.9484, allocations: 124.8 kB / 1.06 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00074/0.9491, allocations: 87.75 kB / 1.06 GB, free: 14.27 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.0002125/0.9493, allocations: 123.1 kB / 1.06 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007884/0.9501, allocations: 308.3 kB / 1.06 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9502, allocations: 0 / 1.06 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.9504, allocations: 89.02 kB / 1.061 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.9508, allocations: 35.52 kB / 1.061 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.952, allocations: 377 kB / 1.061 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/0.9526, allocations: 0.7724 MB / 1.062 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/0.9526, allocations: 0 / 1.062 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of Templates: time 0.009099/0.9618, allocations: 2.686 MB / 1.064 GB, free: 9.973 MB / 0.6823 GB