Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.35/1.35, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001046/0.001046, allocations: 181.3 kB / 366.3 MB, free: 1.98 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.049/1.049, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0009036/0.0009036, allocations: 80.72 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.121e-06/6.262e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4206, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.5798, allocations: 169.5 MB / 1.138 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5801, allocations: 100.4 kB / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.05374/0.6339, allocations: 22.89 MB / 1.161 GB, free: 3.852 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.557e-05/0.6339, allocations: 11.98 kB / 1.161 GB, free: 3.84 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.001107/0.6351, allocations: 0.6424 MB / 1.161 GB, free: 3.152 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6351, allocations: 8.031 kB / 1.161 GB, free: 3.145 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.6363, allocations: 139.3 kB / 1.161 GB, free: 3.008 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.6367, allocations: 327.2 kB / 1.162 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.6368, allocations: 12 kB / 1.162 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.6368, allocations: 24 kB / 1.162 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006348/0.6375, allocations: 397.5 kB / 1.162 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007572/0.6383, allocations: 0.5688 MB / 1.163 GB, free: 1.594 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.6383, allocations: 0 / 1.163 GB, free: 1.594 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.6383, allocations: 3.984 kB / 1.163 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/0.6384, allocations: 32.58 kB / 1.163 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.6418, allocations: 3.452 MB / 1.166 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.6422, allocations: 316.2 kB / 1.166 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.6424, allocations: 169.7 kB / 1.166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.6425, allocations: 7.984 kB / 1.166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.6425, allocations: 42.5 kB / 1.167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.6425, allocations: 4 kB / 1.167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26): time 0.00176/0.6443, allocations: 0.6194 MB / 1.167 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.6443, allocations: 85.05 kB / 1.167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.6446, allocations: 279.1 kB / 1.167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.6446, allocations: 25.7 kB / 1.167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.6448, allocations: 239.3 kB / 1.168 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.6448, allocations: 94.64 kB / 1.168 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.6449, allocations: 0 / 1.168 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.645, allocations: 338.8 kB / 1.168 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.6452, allocations: 172.9 kB / 1.168 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.6455, allocations: 324.5 kB / 1.169 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.646, allocations: 251.7 kB / 1.169 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.646, allocations: 0 / 1.169 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001708/0.6477, allocations: 0.7138 MB / 1.17 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007284/0.6485, allocations: 2.09 MB / 1.172 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.6485, allocations: 4 kB / 1.172 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.6496, allocations: 205.4 kB / 1.172 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.65, allocations: 87.89 kB / 1.172 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.6512, allocations: 1.284 MB / 1.173 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.6515, allocations: 23.83 kB / 1.173 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.6516, allocations: 24 kB / 1.173 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.493e-06/0.6516, allocations: 4 kB / 1.173 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007305/0.6523, allocations: 452.9 kB / 1.174 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6524, allocations: 4.719 kB / 1.174 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.6524, allocations: 12 kB / 1.174 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.6528, allocations: 107.8 kB / 1.174 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6528, allocations: 8 kB / 1.174 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.653, allocations: 23.83 kB / 1.174 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.6531, allocations: 20 kB / 1.174 GB, free: 5.457 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.0001103/0.6532, allocations: 120.8 kB / 1.174 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.6533, allocations: 31.62 kB / 1.174 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.655, allocations: 0.6298 MB / 1.175 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.655, allocations: 4 kB / 1.175 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.655, allocations: 11.83 kB / 1.175 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.655, allocations: 0 / 1.175 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007943/0.6558, allocations: 0.598 MB / 1.175 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6558, allocations: 7.938 kB / 1.175 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.656, allocations: 35.98 kB / 1.175 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.6576, allocations: 369.5 kB / 1.176 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.6576, allocations: 0 / 1.176 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003404/0.661, allocations: 3.219 MB / 1.179 GB, free: 136 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.661, allocations: 4.062 kB / 1.179 GB, free: 132 kB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001649/0.6627, allocations: 0.8333 MB / 1.179 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.6628, allocations: 144.6 kB / 1.18 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.6629, allocations: 0 / 1.18 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.6632, allocations: 23.91 kB / 1.18 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.6633, allocations: 19.97 kB / 1.18 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.6633, allocations: 12 kB / 1.18 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.00018/0.6635, allocations: 199.1 kB / 1.18 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007117/0.6642, allocations: 164.1 kB / 1.18 GB, free: 14.68 MB / 0.7917 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.000155/0.6644, allocations: 123.1 kB / 1.18 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.6656, allocations: 0.6939 MB / 1.181 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6656, allocations: 7.938 kB / 1.181 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006838/0.6663, allocations: 440.2 kB / 1.181 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.6667, allocations: 52.14 kB / 1.181 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.6677, allocations: 0.5405 MB / 1.182 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/0.6682, allocations: 0.8846 MB / 1.183 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of SimCode: time 2.5e-07/0.6682, allocations: 0 / 1.183 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of Templates: time 0.01137/0.6796, allocations: 7.192 MB / 1.19 GB, free: 4.738 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)