Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") [: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.181/2.181, allocations: 253.1 MB / 260.4 MB, free: 7.574 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.00166/0.00166, allocations: 192.9 kB / 319.6 MB, free: 3.324 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 1.974/1.974, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001258/0.001258, allocations: 83.34 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.768e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2096, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7598/0.9695, allocations: 166.3 MB / 1.05 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003913/0.97, allocations: 99.36 kB / 1.051 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.4283/1.398, allocations: 103.7 MB / 1.152 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001886/1.399, allocations: 67.92 kB / 1.152 GB, free: 7.859 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01159/1.41, allocations: 2.482 MB / 1.154 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.41, allocations: 12.03 kB / 1.154 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/1.42, allocations: 0.9058 MB / 1.155 GB, free: 4.398 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00624/1.427, allocations: 1.642 MB / 1.157 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/1.427, allocations: 103.8 kB / 1.157 GB, free: 2.613 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/1.429, allocations: 168 kB / 1.157 GB, free: 2.449 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01389/1.443, allocations: 3.745 MB / 1.161 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01836/1.461, allocations: 4.426 MB / 1.165 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/1.461, allocations: 0 / 1.165 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009563/1.462, allocations: 4 kB / 1.165 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003186/1.462, allocations: 197.1 kB / 1.165 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04926/1.512, allocations: 22.73 MB / 1.187 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/1.515, allocations: 1.65 MB / 1.189 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/1.518, allocations: 0.9637 MB / 1.19 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/1.518, allocations: 105.6 kB / 1.19 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/1.518, allocations: 47.22 kB / 1.19 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 4.108e-06/1.518, allocations: 0 / 1.19 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=82): time 0.005701/1.524, allocations: 1.709 MB / 1.192 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.524, allocations: 222.4 kB / 1.192 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/1.527, allocations: 0.9803 MB / 1.193 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002616/1.527, allocations: 25.7 kB / 1.193 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/1.528, allocations: 1.222 MB / 1.194 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005407/1.529, allocations: 284 kB / 1.194 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/1.529, allocations: 3.938 kB / 1.194 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003632/1.529, allocations: 410.6 kB / 1.195 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/1.532, allocations: 0.937 MB / 1.196 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003208/1.535, allocations: 1.541 MB / 1.197 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007462/1.542, allocations: 1.498 MB / 1.199 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-05/1.542, allocations: 4 kB / 1.199 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01279/1.555, allocations: 2.74 MB / 1.201 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003439/1.559, allocations: 7.474 MB / 1.209 GB, free: 10.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.166e-05/1.559, allocations: 20 kB / 1.209 GB, free: 10.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.34e-05/1.559, allocations: 32 kB / 1.209 GB, free: 9.988 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/1.563, allocations: 435.3 kB / 1.209 GB, free: 9.562 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.213e-05/1.563, allocations: 39.86 kB / 1.209 GB, free: 9.523 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/1.566, allocations: 269.8 kB / 1.209 GB, free: 9.258 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004364/1.567, allocations: 79.98 kB / 1.21 GB, free: 9.18 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.567, allocations: 6.656 kB / 1.21 GB, free: 9.176 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008288/1.575, allocations: 2.427 MB / 1.212 GB, free: 6.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-05/1.575, allocations: 24.25 kB / 1.212 GB, free: 6.727 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.848e-05/1.575, allocations: 28.06 kB / 1.212 GB, free: 6.699 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00354/1.579, allocations: 427.3 kB / 1.212 GB, free: 6.281 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.767e-05/1.579, allocations: 39.86 kB / 1.212 GB, free: 6.242 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/1.582, allocations: 186.7 kB / 1.213 GB, free: 6.059 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003226/1.582, allocations: 75.98 kB / 1.213 GB, free: 5.984 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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.0005328/1.583, allocations: 156.4 kB / 1.213 GB, free: 5.824 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005381/1.583, allocations: 102.7 kB / 1.213 GB, free: 5.723 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005631/1.589, allocations: 1.793 MB / 1.215 GB, free: 3.906 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/1.589, allocations: 8 kB / 1.215 GB, free: 3.898 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.589, allocations: 8 kB / 1.215 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/1.589, allocations: 3.984 kB / 1.215 GB, free: 3.887 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/1.601, allocations: 4.041 MB / 1.219 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.601, allocations: 0 / 1.219 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/1.603, allocations: 211.8 kB / 1.219 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.613e-05/1.603, allocations: 8 kB / 1.219 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/1.603, allocations: 11.91 kB / 1.219 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.519e-05/1.603, allocations: 15.91 kB / 1.219 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.603, allocations: 4 kB / 1.219 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004789/1.608, allocations: 2.24 MB / 1.221 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.61, allocations: 383.4 kB / 1.221 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/1.61, allocations: 8 kB / 1.221 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.612, allocations: 83.86 kB / 1.222 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/1.612, allocations: 52.48 kB / 1.222 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.612, allocations: 24 kB / 1.222 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001825/1.614, allocations: 0.7607 MB / 1.222 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00596/1.62, allocations: 1.298 MB / 1.224 GB, free: 10.54 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (85): * Single equations (assignments): 85 * 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.0004228/1.621, allocations: 119 kB / 1.224 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.008241/1.629, allocations: 3.152 MB / 1.227 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.629, allocations: 4.125 kB / 1.227 GB, free: 7.266 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/1.631, allocations: 0.7518 MB / 1.228 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/1.633, allocations: 147.2 kB / 1.228 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/1.647, allocations: 3.864 MB / 1.231 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00584/1.653, allocations: 2.372 MB / 1.234 GB, free: 24 kB / 0.8386 GB Notification: Performance of SimCode: time 1.162e-06/1.653, allocations: 3.938 kB / 1.234 GB, free: 20 kB / 0.8386 GB Notification: Performance of Templates: time 0.07572/1.729, allocations: 25.28 MB / 1.258 GB, free: 6.887 MB / 0.8698 GB