Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 181.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9926/0.9926, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007604/0.0007604, allocations: 95.62 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.5e-06, allocations: 0 / 0.8511 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3964, allocations: 115.3 MB / 0.9637 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.5434, allocations: 159.2 MB / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.5437, allocations: 91.94 kB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.03148/0.5752, allocations: 13.7 MB / 1.133 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.5752, allocations: 4 kB / 1.133 GB, free: 15.04 MB / 0.7448 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.0004919/0.5757, allocations: 478.1 kB / 1.133 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.5758, allocations: 8.531 kB / 1.133 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006237/0.5764, allocations: 75.62 kB / 1.133 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.5767, allocations: 228.4 kB / 1.133 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5767, allocations: 8 kB / 1.133 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.5767, allocations: 15.94 kB / 1.133 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000311/0.5771, allocations: 189.4 kB / 1.134 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.5775, allocations: 307.4 kB / 1.134 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5775, allocations: 4 kB / 1.134 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.5775, allocations: 0 / 1.134 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.5775, allocations: 19.98 kB / 1.134 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.579, allocations: 1.572 MB / 1.135 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.5792, allocations: 181.9 kB / 1.136 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.5793, allocations: 85.67 kB / 1.136 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.5795, allocations: 93.08 kB / 1.136 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.5795, allocations: 46.41 kB / 1.136 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.5795, allocations: 0 / 1.136 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0006101/0.5802, allocations: 270.4 kB / 1.136 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.5802, allocations: 85.05 kB / 1.136 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.5803, allocations: 141.4 kB / 1.136 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.5804, allocations: 30.64 kB / 1.136 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.5804, allocations: 147.9 kB / 1.136 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.5805, allocations: 43.36 kB / 1.136 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.5805, allocations: 0 / 1.136 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5806, allocations: 322.8 kB / 1.137 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.5807, allocations: 83.97 kB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.5809, allocations: 155.4 kB / 1.137 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.5811, allocations: 127.8 kB / 1.137 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5811, allocations: 0 / 1.137 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000478/0.5816, allocations: 292.1 kB / 1.137 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003056/0.5819, allocations: 0.9569 MB / 1.138 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.582, allocations: 4 kB / 1.138 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.582, allocations: 4 kB / 1.138 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.5822, allocations: 51.89 kB / 1.138 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5822, allocations: 4 kB / 1.138 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.5824, allocations: 23.77 kB / 1.138 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.5824, allocations: 14.42 kB / 1.138 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.5824, allocations: 4 kB / 1.138 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003809/0.5828, allocations: 216.5 kB / 1.139 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5828, allocations: 4 kB / 1.139 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.5829, allocations: 4 kB / 1.139 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.583, allocations: 49.91 kB / 1.139 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.5831, allocations: 7.938 kB / 1.139 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.5832, allocations: 8.219 kB / 1.139 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.5832, allocations: 15.98 kB / 1.139 GB, free: 8.273 MB / 0.7448 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 7.023e-05/0.5833, allocations: 109 kB / 1.139 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.5833, allocations: 15.81 kB / 1.139 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.5838, allocations: 223.7 kB / 1.139 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5838, allocations: 4 kB / 1.139 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.5838, allocations: 5.547 kB / 1.139 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5838, allocations: 0 / 1.139 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.585, allocations: 1.038 MB / 1.14 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.585, allocations: 8.344 kB / 1.14 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.5852, allocations: 39.91 kB / 1.14 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5852, allocations: 7.938 kB / 1.14 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.5852, allocations: 8 kB / 1.14 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.5852, allocations: 4 kB / 1.14 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5853, allocations: 4.875 kB / 1.14 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004535/0.5857, allocations: 0.5278 MB / 1.141 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.5858, allocations: 112.9 kB / 1.141 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.5859, allocations: 5.125 kB / 1.141 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.586, allocations: 7.984 kB / 1.141 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.5861, allocations: 19.89 kB / 1.141 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.5861, allocations: 12 kB / 1.141 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.796e-05/0.5862, allocations: 118.1 kB / 1.141 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004593/0.5867, allocations: 87.92 kB / 1.141 GB, free: 5.645 MB / 0.7448 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.0001364/0.5868, allocations: 122.9 kB / 1.141 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.5872, allocations: 317.4 kB / 1.141 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5872, allocations: 0 / 1.141 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.5873, allocations: 87.83 kB / 1.142 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.5876, allocations: 30.2 kB / 1.142 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.5883, allocations: 380.8 kB / 1.142 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/0.5887, allocations: 0.7774 MB / 1.143 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of SimCode: time 2.91e-07/0.5887, allocations: 0.6562 kB / 1.143 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of Templates: time 0.005011/0.5937, allocations: 2.69 MB / 1.145 GB, free: 1.223 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)