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.Probe.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.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.326/1.326, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001002/0.001002, allocations: 173.3 kB / 361.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007817/0.0007816, allocations: 88.42 kB / 0.7325 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.45e-06/5.47e-06, allocations: 0 / 0.8511 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3935, allocations: 115.3 MB / 0.9637 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.5503, allocations: 172.1 MB / 1.132 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.5506, allocations: 92.53 kB / 1.132 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.05516/0.6057, allocations: 23.76 MB / 1.155 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.272e-05/0.6058, allocations: 8 kB / 1.155 GB, free: 7.816 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.000933/0.6067, allocations: 0.6345 MB / 1.156 GB, free: 7.137 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.6067, allocations: 9.375 kB / 1.156 GB, free: 7.129 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.6078, allocations: 143.4 kB / 1.156 GB, free: 6.988 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.6083, allocations: 331.2 kB / 1.156 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.6083, allocations: 12 kB / 1.156 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.6084, allocations: 20 kB / 1.156 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006176/0.609, allocations: 401.5 kB / 1.157 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.6098, allocations: 0.561 MB / 1.157 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.6098, allocations: 0 / 1.157 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.6099, allocations: 8 kB / 1.157 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/0.6099, allocations: 38.45 kB / 1.157 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.6132, allocations: 3.45 MB / 1.161 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.6136, allocations: 321.1 kB / 1.161 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.6138, allocations: 161.7 kB / 1.161 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.6139, allocations: 8 kB / 1.161 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.6139, allocations: 34.56 kB / 1.161 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.6139, allocations: 3.938 kB / 1.161 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.001732/0.6157, allocations: 0.6315 MB / 1.162 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.6157, allocations: 81.11 kB / 1.162 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.616, allocations: 275.1 kB / 1.162 GB, free: 236 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.616, allocations: 25.7 kB / 1.162 GB, free: 204 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.6161, allocations: 240.5 kB / 1.162 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.6162, allocations: 86.75 kB / 1.162 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.6162, allocations: 4 kB / 1.162 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.6163, allocations: 350.6 kB / 1.163 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.6166, allocations: 168.9 kB / 1.163 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.6169, allocations: 320.5 kB / 1.163 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.6173, allocations: 259.7 kB / 1.163 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6173, allocations: 0 / 1.163 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001704/0.619, allocations: 0.7069 MB / 1.164 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005619/0.6196, allocations: 2.084 MB / 1.166 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6196, allocations: 11.94 kB / 1.166 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.6208, allocations: 197.5 kB / 1.166 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.6212, allocations: 91.88 kB / 1.166 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.6224, allocations: 1.288 MB / 1.168 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.6228, allocations: 29.89 kB / 1.168 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.6228, allocations: 20 kB / 1.168 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.6228, allocations: 4 kB / 1.168 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007123/0.6235, allocations: 447.5 kB / 1.168 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.6236, allocations: 8 kB / 1.168 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.6236, allocations: 11.91 kB / 1.168 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.624, allocations: 107.8 kB / 1.168 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.624, allocations: 8 kB / 1.168 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.6242, allocations: 15.89 kB / 1.168 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.6243, allocations: 20.5 kB / 1.168 GB, free: 9.445 MB / 0.7761 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 0.0001022/0.6244, allocations: 124.8 kB / 1.168 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.6245, allocations: 31.62 kB / 1.168 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.6262, allocations: 0.6359 MB / 1.169 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.6262, allocations: 4 kB / 1.169 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6262, allocations: 0.75 kB / 1.169 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.6262, allocations: 3.984 kB / 1.169 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.627, allocations: 0.5978 MB / 1.17 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.627, allocations: 0 / 1.17 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.6272, allocations: 39.97 kB / 1.17 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/0.6288, allocations: 361.6 kB / 1.17 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.6288, allocations: 4 kB / 1.17 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003378/0.6322, allocations: 3.243 MB / 1.173 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6322, allocations: 2.344 kB / 1.173 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001666/0.6339, allocations: 0.8201 MB / 1.174 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.6341, allocations: 144.6 kB / 1.174 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.6341, allocations: 0 / 1.174 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.6345, allocations: 29.88 kB / 1.174 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.6345, allocations: 15.98 kB / 1.174 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.6346, allocations: 11.98 kB / 1.174 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001747/0.6347, allocations: 199.1 kB / 1.174 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007056/0.6355, allocations: 168.1 kB / 1.175 GB, free: 2.672 MB / 0.7761 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.0001541/0.6356, allocations: 123 kB / 1.175 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.6368, allocations: 0.6976 MB / 1.175 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6369, allocations: 0 / 1.175 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.6375, allocations: 440 kB / 1.176 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.6379, allocations: 56.84 kB / 1.176 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.6389, allocations: 0.5404 MB / 1.176 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.6394, allocations: 0.8848 MB / 1.177 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of SimCode: time 3.01e-07/0.6394, allocations: 0 / 1.177 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of Templates: time 0.01115/0.6506, allocations: 7.193 MB / 1.184 GB, free: 8.785 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)