Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.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.097/2.097, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001602/0.001602, allocations: 191.7 kB / 360.4 MB, free: 7.473 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.632/1.632, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001204/0.001204, allocations: 89.39 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.385e-06/8.556e-06, allocations: 0 / 0.8503 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5602, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2557/0.8159, allocations: 168.3 MB / 1.127 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/0.8164, allocations: 92.64 kB / 1.127 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.09347/0.9098, allocations: 22.91 MB / 1.15 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.101e-05/0.9099, allocations: 12 kB / 1.15 GB, free: 13.26 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.001566/0.9115, allocations: 0.6346 MB / 1.15 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.9116, allocations: 12.03 kB / 1.15 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.9134, allocations: 143.4 kB / 1.15 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007279/0.9141, allocations: 331.1 kB / 1.151 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.9142, allocations: 13.56 kB / 1.151 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.9143, allocations: 20 kB / 1.151 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001179/0.9155, allocations: 401.5 kB / 1.151 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.9168, allocations: 0.561 MB / 1.152 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.9168, allocations: 4 kB / 1.152 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.9169, allocations: 0 / 1.152 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.614e-05/0.917, allocations: 36.64 kB / 1.152 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005954/0.9229, allocations: 3.445 MB / 1.155 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/0.9238, allocations: 317 kB / 1.155 GB, free: 6.914 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.9243, allocations: 173.7 kB / 1.156 GB, free: 6.738 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.9243, allocations: 7.984 kB / 1.156 GB, free: 6.73 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.9244, allocations: 30.56 kB / 1.156 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 2.524e-06/0.9244, allocations: 0 / 1.156 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.003279/0.9277, allocations: 0.6307 MB / 1.156 GB, free: 6.047 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.9277, allocations: 81.11 kB / 1.156 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.9282, allocations: 271.1 kB / 1.157 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.9283, allocations: 25.7 kB / 1.157 GB, free: 5.648 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.9285, allocations: 239.3 kB / 1.157 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.9286, allocations: 90.66 kB / 1.157 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.9287, allocations: 0 / 1.157 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002188/0.9289, allocations: 346.8 kB / 1.157 GB, free: 4.973 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.9294, allocations: 168.9 kB / 1.157 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.9301, allocations: 329.6 kB / 1.158 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009069/0.931, allocations: 251.8 kB / 1.158 GB, free: 4.164 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.931, allocations: 4 kB / 1.158 GB, free: 4.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003387/0.9344, allocations: 0.7063 MB / 1.159 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009999/0.9355, allocations: 2.088 MB / 1.161 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.9355, allocations: 8 kB / 1.161 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/0.9377, allocations: 201.4 kB / 1.161 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.9386, allocations: 97.25 kB / 1.161 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.9406, allocations: 1.284 MB / 1.162 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006977/0.9414, allocations: 27.86 kB / 1.162 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.9415, allocations: 24.12 kB / 1.162 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.9415, allocations: 4.781 kB / 1.162 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001529/0.943, allocations: 451.6 kB / 1.163 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9431, allocations: 4 kB / 1.163 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.9431, allocations: 8 kB / 1.163 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.9439, allocations: 107.8 kB / 1.163 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.944, allocations: 11.94 kB / 1.163 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.9445, allocations: 26.02 kB / 1.163 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.9445, allocations: 20 kB / 1.163 GB, free: 14.88 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.0001959/0.9447, allocations: 125 kB / 1.163 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.9449, allocations: 31.62 kB / 1.163 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.9482, allocations: 0.631 MB / 1.164 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.9483, allocations: 8 kB / 1.164 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.9483, allocations: 3.906 kB / 1.164 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.9483, allocations: 3.984 kB / 1.164 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.9497, allocations: 0.5863 MB / 1.164 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.9498, allocations: 4 kB / 1.164 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.9502, allocations: 50.03 kB / 1.164 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/0.9532, allocations: 370.7 kB / 1.165 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.9532, allocations: 0 / 1.165 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006138/0.9594, allocations: 3.22 MB / 1.168 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.9594, allocations: 4 kB / 1.168 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003232/0.9627, allocations: 0.8239 MB / 1.169 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.9629, allocations: 140.6 kB / 1.169 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.133e-05/0.963, allocations: 4 kB / 1.169 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/0.9637, allocations: 23.97 kB / 1.169 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.9638, allocations: 19.92 kB / 1.169 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.9638, allocations: 8 kB / 1.169 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0003288/0.9641, allocations: 203.1 kB / 1.169 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001151/0.9653, allocations: 168.1 kB / 1.169 GB, free: 8.109 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.0002103/0.9655, allocations: 115.1 kB / 1.169 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002341/0.9679, allocations: 0.6978 MB / 1.17 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.9679, allocations: 0 / 1.17 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.9692, allocations: 437.8 kB / 1.17 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.9699, allocations: 64.94 kB / 1.17 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.9718, allocations: 0.5366 MB / 1.171 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007323/0.9725, allocations: 0.8826 MB / 1.172 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of SimCode: time 9.91e-07/0.9725, allocations: 0 / 1.172 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of Templates: time 0.01994/0.9925, allocations: 7.19 MB / 1.179 GB, free: 14.24 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)