Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") [: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.1.4-maint.8.1.x/package.mo): time 1.331/1.331, allocations: 289.8 MB / 297.1 MB, free: 12.55 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009725/0.0009725, allocations: 172.2 kB / 366.3 MB, free: 11.86 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.024/1.024, allocations: 205.1 MB / 0.6256 GB, free: 2.043 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 98.61 kB / 0.7395 GB, free: 47.04 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/6.022e-06, allocations: 0 / 0.859 GB, free: 7.129 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4361, allocations: 116.3 MB / 0.9725 GB, free: 81.48 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.5994, allocations: 173.1 MB / 1.142 GB, free: 2.758 MB / 0.7371 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.5997, allocations: 97.09 kB / 1.142 GB, free: 2.66 MB / 0.7371 GB Notification: Performance of FrontEnd: time 0.05356/0.6533, allocations: 23.76 MB / 1.165 GB, free: 10.76 MB / 0.7683 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.6533, allocations: 15.94 kB / 1.165 GB, free: 10.74 MB / 0.7683 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008578/0.6542, allocations: 0.6462 MB / 1.166 GB, free: 10.05 MB / 0.7683 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.6542, allocations: 8.031 kB / 1.166 GB, free: 10.04 MB / 0.7683 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.6553, allocations: 139.4 kB / 1.166 GB, free: 9.906 MB / 0.7683 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.6557, allocations: 327.8 kB / 1.166 GB, free: 9.543 MB / 0.7683 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.6557, allocations: 12 kB / 1.166 GB, free: 9.531 MB / 0.7683 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.6558, allocations: 20 kB / 1.166 GB, free: 9.512 MB / 0.7683 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005749/0.6563, allocations: 401.5 kB / 1.166 GB, free: 9.121 MB / 0.7683 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.6571, allocations: 0.5649 MB / 1.167 GB, free: 8.496 MB / 0.7683 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.6571, allocations: 0 / 1.167 GB, free: 8.496 MB / 0.7683 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.6571, allocations: 4 kB / 1.167 GB, free: 8.492 MB / 0.7683 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-05/0.6572, allocations: 33.19 kB / 1.167 GB, free: 8.461 MB / 0.7683 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003107/0.6603, allocations: 3.448 MB / 1.17 GB, free: 4.727 MB / 0.7683 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.6607, allocations: 318.4 kB / 1.171 GB, free: 4.398 MB / 0.7683 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.6609, allocations: 161.7 kB / 1.171 GB, free: 4.234 MB / 0.7683 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.6609, allocations: 11.98 kB / 1.171 GB, free: 4.223 MB / 0.7683 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.661, allocations: 39.23 kB / 1.171 GB, free: 4.176 MB / 0.7683 GB Notification: Performance of pre-optimization done (n=25): time 1.243e-06/0.661, allocations: 4 kB / 1.171 GB, free: 4.172 MB / 0.7683 GB Notification: Performance of matching and sorting (n=26): time 0.001665/0.6626, allocations: 0.6275 MB / 1.172 GB, free: 3.531 MB / 0.7683 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.6627, allocations: 81.11 kB / 1.172 GB, free: 3.434 MB / 0.7683 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.6629, allocations: 271.3 kB / 1.172 GB, free: 3.164 MB / 0.7683 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.663, allocations: 29.7 kB / 1.172 GB, free: 3.129 MB / 0.7683 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.6631, allocations: 239.2 kB / 1.172 GB, free: 2.891 MB / 0.7683 GB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.6632, allocations: 90.66 kB / 1.172 GB, free: 2.801 MB / 0.7683 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.6632, allocations: 0 / 1.172 GB, free: 2.801 MB / 0.7683 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6633, allocations: 338.8 kB / 1.173 GB, free: 2.461 MB / 0.7683 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.6635, allocations: 168.9 kB / 1.173 GB, free: 2.297 MB / 0.7683 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.6638, allocations: 328.5 kB / 1.173 GB, free: 1.902 MB / 0.7683 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.6643, allocations: 255.8 kB / 1.173 GB, free: 1.652 MB / 0.7683 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6643, allocations: 0 / 1.173 GB, free: 1.652 MB / 0.7683 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001662/0.666, allocations: 0.7153 MB / 1.174 GB, free: 0.9258 MB / 0.7683 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006054/0.6666, allocations: 2.086 MB / 1.176 GB, free: 14.68 MB / 0.7839 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6666, allocations: 4 kB / 1.176 GB, free: 14.67 MB / 0.7839 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.6678, allocations: 201.4 kB / 1.176 GB, free: 14.47 MB / 0.7839 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.6681, allocations: 95.83 kB / 1.176 GB, free: 14.38 MB / 0.7839 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.6693, allocations: 1.282 MB / 1.178 GB, free: 13.04 MB / 0.7839 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.6696, allocations: 27.88 kB / 1.178 GB, free: 13.02 MB / 0.7839 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.6697, allocations: 23.98 kB / 1.178 GB, free: 12.99 MB / 0.7839 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.6697, allocations: 5.562 kB / 1.178 GB, free: 12.99 MB / 0.7839 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006976/0.6704, allocations: 448.3 kB / 1.178 GB, free: 12.55 MB / 0.7839 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.6704, allocations: 8.719 kB / 1.178 GB, free: 12.54 MB / 0.7839 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.6704, allocations: 8.141 kB / 1.178 GB, free: 12.54 MB / 0.7839 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.6708, allocations: 111.8 kB / 1.178 GB, free: 12.43 MB / 0.7839 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.6708, allocations: 11.94 kB / 1.178 GB, free: 12.41 MB / 0.7839 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.6711, allocations: 19.89 kB / 1.178 GB, free: 12.39 MB / 0.7839 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.6711, allocations: 23.98 kB / 1.178 GB, free: 12.37 MB / 0.7839 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 9.779e-05/0.6712, allocations: 116.8 kB / 1.178 GB, free: 12.25 MB / 0.7839 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.6713, allocations: 31.62 kB / 1.178 GB, free: 12.22 MB / 0.7839 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.6729, allocations: 0.6407 MB / 1.179 GB, free: 11.57 MB / 0.7839 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.673, allocations: 4 kB / 1.179 GB, free: 11.56 MB / 0.7839 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.673, allocations: 3.906 kB / 1.179 GB, free: 11.56 MB / 0.7839 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.673, allocations: 0.875 kB / 1.179 GB, free: 11.56 MB / 0.7839 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.6737, allocations: 0.598 MB / 1.18 GB, free: 10.91 MB / 0.7839 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6738, allocations: 0 / 1.18 GB, free: 10.91 MB / 0.7839 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.674, allocations: 43.91 kB / 1.18 GB, free: 10.87 MB / 0.7839 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/0.6755, allocations: 361.3 kB / 1.18 GB, free: 10.51 MB / 0.7839 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.6755, allocations: 0 / 1.18 GB, free: 10.51 MB / 0.7839 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0033/0.6788, allocations: 3.227 MB / 1.183 GB, free: 7.051 MB / 0.7839 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6788, allocations: 8.094 kB / 1.183 GB, free: 7.043 MB / 0.7839 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001618/0.6804, allocations: 0.8277 MB / 1.184 GB, free: 6.168 MB / 0.7839 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.6806, allocations: 140.6 kB / 1.184 GB, free: 6.012 MB / 0.7839 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.6807, allocations: 0.5625 kB / 1.184 GB, free: 6.012 MB / 0.7839 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.681, allocations: 27.95 kB / 1.184 GB, free: 5.984 MB / 0.7839 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.681, allocations: 11.98 kB / 1.184 GB, free: 5.973 MB / 0.7839 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.6811, allocations: 8.75 kB / 1.184 GB, free: 5.965 MB / 0.7839 GB Notification: Performance of sort global known variables: time 0.0001648/0.6812, allocations: 203.1 kB / 1.184 GB, free: 5.77 MB / 0.7839 GB Notification: Performance of remove unused functions: time 0.0006593/0.6819, allocations: 168.1 kB / 1.184 GB, free: 5.605 MB / 0.7839 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.6821, allocations: 120.8 kB / 1.185 GB, free: 5.48 MB / 0.7839 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.6832, allocations: 0.6981 MB / 1.185 GB, free: 4.781 MB / 0.7839 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6832, allocations: 0 / 1.185 GB, free: 4.781 MB / 0.7839 GB Notification: Performance of simCode: created simulation system equations: time 0.0006357/0.6839, allocations: 436 kB / 1.186 GB, free: 4.336 MB / 0.7839 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.6843, allocations: 56.52 kB / 1.186 GB, free: 4.281 MB / 0.7839 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.6852, allocations: 0.5464 MB / 1.186 GB, free: 3.707 MB / 0.7839 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/0.6857, allocations: 0.8848 MB / 1.187 GB, free: 2.797 MB / 0.7839 GB Notification: Performance of SimCode: time 2.41e-07/0.6857, allocations: 0 / 1.187 GB, free: 2.797 MB / 0.7839 GB Notification: Performance of Templates: time 0.01078/0.6965, allocations: 7.187 MB / 1.194 GB, free: 11.68 MB / 0.7996 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)