Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.192/2.192, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001617, allocations: 181.2 kB / 360.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001233, allocations: 92.73 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.215e-06/8.235e-06, allocations: 0 / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5667/0.5667, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2471/0.8139, allocations: 172 MB / 1.131 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/0.8143, allocations: 100.7 kB / 1.131 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.09442/0.9088, allocations: 23.77 MB / 1.154 GB, free: 8.812 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.83e-05/0.9088, allocations: 19.92 kB / 1.154 GB, free: 8.793 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.001478/0.9103, allocations: 0.6345 MB / 1.155 GB, free: 8.113 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.9104, allocations: 8.531 kB / 1.155 GB, free: 8.105 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.9122, allocations: 141.2 kB / 1.155 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.9129, allocations: 319.3 kB / 1.155 GB, free: 7.613 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.913, allocations: 16 kB / 1.155 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/0.9131, allocations: 20 kB / 1.155 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001163/0.9143, allocations: 413.5 kB / 1.156 GB, free: 7.172 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.9156, allocations: 0.5501 MB / 1.156 GB, free: 6.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.9156, allocations: 11.94 kB / 1.156 GB, free: 6.559 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.9157, allocations: 0 / 1.156 GB, free: 6.559 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.304e-05/0.9158, allocations: 28.64 kB / 1.156 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005628/0.9214, allocations: 3.453 MB / 1.159 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.9222, allocations: 313.1 kB / 1.16 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/0.9227, allocations: 169.7 kB / 1.16 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.9227, allocations: 4 kB / 1.16 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.9228, allocations: 42.5 kB / 1.16 GB, free: 2.234 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 3.286e-06/0.9228, allocations: 0.9375 kB / 1.16 GB, free: 2.234 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.003247/0.9261, allocations: 0.6345 MB / 1.161 GB, free: 1.586 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.9261, allocations: 81.2 kB / 1.161 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.9266, allocations: 267.2 kB / 1.161 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.9267, allocations: 25.7 kB / 1.161 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.9269, allocations: 247.2 kB / 1.161 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.927, allocations: 86.66 kB / 1.161 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.927, allocations: 0 / 1.161 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9272, allocations: 338.8 kB / 1.162 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.9276, allocations: 172.9 kB / 1.162 GB, free: 356 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.9283, allocations: 338 kB / 1.162 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009101/0.9292, allocations: 247.8 kB / 1.162 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.9292, allocations: 4 kB / 1.162 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003234/0.9324, allocations: 0.7027 MB / 1.163 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007531/0.9332, allocations: 2.09 MB / 1.165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.9333, allocations: 8 kB / 1.165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/0.9356, allocations: 201.4 kB / 1.165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000786/0.9364, allocations: 93.95 kB / 1.165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.9384, allocations: 1.284 MB / 1.167 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/0.9392, allocations: 23.88 kB / 1.167 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.9392, allocations: 23.98 kB / 1.167 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.9393, allocations: 4.938 kB / 1.167 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001355/0.9406, allocations: 456.1 kB / 1.167 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9407, allocations: 8.031 kB / 1.167 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.9407, allocations: 8.141 kB / 1.167 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008158/0.9415, allocations: 103.8 kB / 1.167 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.9415, allocations: 9.875 kB / 1.167 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004736/0.942, allocations: 19.89 kB / 1.167 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.9421, allocations: 23.98 kB / 1.167 GB, free: 10.43 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.0001758/0.9423, allocations: 124.6 kB / 1.167 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.9424, allocations: 31.62 kB / 1.167 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.9457, allocations: 0.6405 MB / 1.168 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.9458, allocations: 4 kB / 1.168 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.9458, allocations: 3.906 kB / 1.168 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.9458, allocations: 0 / 1.168 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.9472, allocations: 0.5902 MB / 1.169 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.9472, allocations: 7.938 kB / 1.169 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.9476, allocations: 39.97 kB / 1.169 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/0.9507, allocations: 373.3 kB / 1.169 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.9508, allocations: 2.812 kB / 1.169 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00607/0.9569, allocations: 3.217 MB / 1.172 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/0.9569, allocations: 7.938 kB / 1.172 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003294/0.9602, allocations: 0.8339 MB / 1.173 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.9606, allocations: 136.6 kB / 1.173 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/0.9607, allocations: 4 kB / 1.173 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/0.9613, allocations: 23.95 kB / 1.173 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.9614, allocations: 13.02 kB / 1.173 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.9615, allocations: 8 kB / 1.173 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0003203/0.9618, allocations: 207.1 kB / 1.173 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001234/0.963, allocations: 172.1 kB / 1.174 GB, free: 3.648 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.0002091/0.9633, allocations: 107.2 kB / 1.174 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.9656, allocations: 0.704 MB / 1.174 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9656, allocations: 0 / 1.174 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.9669, allocations: 438.1 kB / 1.175 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.9677, allocations: 56.83 kB / 1.175 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.9695, allocations: 0.5483 MB / 1.175 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006903/0.9702, allocations: 0.877 MB / 1.176 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of SimCode: time 9.02e-07/0.9702, allocations: 0 / 1.176 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of Templates: time 0.02008/0.9903, allocations: 7.186 MB / 1.183 GB, free: 9.77 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)