Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.292/1.292, 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.0009392/0.0009392, allocations: 179.8 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9879/0.9879, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007995/0.0007995, allocations: 96.55 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.799e-06/4.829e-06, allocations: 0 / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3964, allocations: 115.3 MB / 0.9637 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.5529, allocations: 168.5 MB / 1.128 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.5532, allocations: 104.2 kB / 1.128 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.05447/0.6077, allocations: 22.9 MB / 1.151 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.6077, allocations: 16 kB / 1.151 GB, free: 12.36 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.0009111/0.6086, allocations: 0.6346 MB / 1.151 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.6087, allocations: 8.031 kB / 1.151 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.6098, allocations: 135.4 kB / 1.151 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.6102, allocations: 331.2 kB / 1.152 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.6103, allocations: 16 kB / 1.152 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-05/0.6103, allocations: 23.94 kB / 1.152 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005966/0.6109, allocations: 403 kB / 1.152 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007234/0.6117, allocations: 0.5571 MB / 1.153 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.6117, allocations: 3.938 kB / 1.153 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.6117, allocations: 4 kB / 1.153 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/0.6118, allocations: 28.62 kB / 1.153 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/0.6151, allocations: 3.453 MB / 1.156 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.6155, allocations: 309.1 kB / 1.156 GB, free: 6.027 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.6157, allocations: 169.6 kB / 1.157 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.6157, allocations: 7.984 kB / 1.157 GB, free: 5.848 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.6157, allocations: 46.55 kB / 1.157 GB, free: 5.793 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 1.532e-06/0.6157, allocations: 0 / 1.157 GB, free: 5.793 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.00172/0.6175, allocations: 0.6228 MB / 1.157 GB, free: 5.156 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.6175, allocations: 85.2 kB / 1.157 GB, free: 5.055 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.6178, allocations: 267.1 kB / 1.158 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.6178, allocations: 29.7 kB / 1.158 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.6179, allocations: 239.3 kB / 1.158 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.618, allocations: 92.06 kB / 1.158 GB, free: 4.426 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.618, allocations: 0 / 1.158 GB, free: 4.426 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6182, allocations: 342.8 kB / 1.158 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.6184, allocations: 164.9 kB / 1.158 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.6187, allocations: 336.5 kB / 1.159 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.6192, allocations: 251.8 kB / 1.159 GB, free: 3.273 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6192, allocations: 0 / 1.159 GB, free: 3.273 MB / 0.7605 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001713/0.6209, allocations: 0.7099 MB / 1.16 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006406/0.6216, allocations: 2.086 MB / 1.162 GB, free: 308 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.6216, allocations: 4 kB / 1.162 GB, free: 304 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.6228, allocations: 209.4 kB / 1.162 GB, free: 88 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.6232, allocations: 87.83 kB / 1.162 GB, free: 0 / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.6244, allocations: 1.28 MB / 1.163 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.6248, allocations: 29.31 kB / 1.163 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.6248, allocations: 23.98 kB / 1.163 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.6248, allocations: 4.75 kB / 1.163 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007436/0.6256, allocations: 452.1 kB / 1.164 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6256, allocations: 12.03 kB / 1.164 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.6256, allocations: 8 kB / 1.164 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.626, allocations: 103.8 kB / 1.164 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.626, allocations: 13.42 kB / 1.164 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.6263, allocations: 23.83 kB / 1.164 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.6263, allocations: 20 kB / 1.164 GB, free: 14 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 9.944e-05/0.6264, allocations: 116 kB / 1.164 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.6265, allocations: 31.77 kB / 1.164 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.6283, allocations: 0.6433 MB / 1.165 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6283, allocations: 4 kB / 1.165 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6283, allocations: 3.906 kB / 1.165 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6283, allocations: 0 / 1.165 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007994/0.6291, allocations: 0.5979 MB / 1.165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6291, allocations: 0 / 1.165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.6294, allocations: 47.91 kB / 1.165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.631, allocations: 361.3 kB / 1.166 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.631, allocations: 1.812 kB / 1.166 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.6344, allocations: 3.224 MB / 1.169 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6345, allocations: 4.031 kB / 1.169 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001701/0.6362, allocations: 0.8278 MB / 1.17 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.6363, allocations: 140.6 kB / 1.17 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.6364, allocations: 0 / 1.17 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.6367, allocations: 23.95 kB / 1.17 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.6368, allocations: 15.98 kB / 1.17 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.6368, allocations: 8 kB / 1.17 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001791/0.637, allocations: 207 kB / 1.17 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007404/0.6377, allocations: 168.1 kB / 1.17 GB, free: 7.227 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.0001444/0.6379, allocations: 115 kB / 1.17 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.6392, allocations: 0.704 MB / 1.171 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6392, allocations: 0 / 1.171 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006771/0.6399, allocations: 437.4 kB / 1.171 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.6403, allocations: 57.55 kB / 1.171 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.6413, allocations: 0.5405 MB / 1.172 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.6418, allocations: 0.8808 MB / 1.173 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of SimCode: time 3.1e-07/0.6418, allocations: 4 kB / 1.173 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of Templates: time 0.01116/0.653, allocations: 7.185 MB / 1.18 GB, free: 13.36 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)