Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [: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.359/1.359, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.001001/0.001001, allocations: 177.3 kB / 366.3 MB, free: 1.918 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.9892/0.9892, allocations: 205.2 MB / 0.6256 GB, free: 5.777 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.0007748/0.0007748, allocations: 87.28 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.661e-06/5.681e-06, allocations: 0 / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3953, allocations: 116.3 MB / 0.9726 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.555, allocations: 165 MB / 1.134 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.5553, allocations: 92.81 kB / 1.134 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.03622/0.5916, allocations: 16.02 MB / 1.149 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.5916, allocations: 7.938 kB / 1.149 GB, free: 15.13 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006699/0.5923, allocations: 0.5098 MB / 1.15 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.5923, allocations: 8.031 kB / 1.15 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007786/0.5931, allocations: 99.59 kB / 1.15 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.5935, allocations: 265.4 kB / 1.15 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.5935, allocations: 4 kB / 1.15 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.5936, allocations: 16 kB / 1.15 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003635/0.5939, allocations: 232.8 kB / 1.151 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.5944, allocations: 339.7 kB / 1.151 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.5944, allocations: 0 / 1.151 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.5945, allocations: 0 / 1.151 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.5945, allocations: 20.42 kB / 1.151 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.5961, allocations: 1.478 MB / 1.152 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.5964, allocations: 202.4 kB / 1.153 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.5965, allocations: 113.1 kB / 1.153 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.5967, allocations: 89.02 kB / 1.153 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.5967, allocations: 38.55 kB / 1.153 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.5967, allocations: 0 / 1.153 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.001279/0.598, allocations: 0.7259 MB / 1.153 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.5981, allocations: 55.41 kB / 1.153 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.5982, allocations: 158.7 kB / 1.154 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.5982, allocations: 25.7 kB / 1.154 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.5983, allocations: 160.1 kB / 1.154 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.5984, allocations: 67 kB / 1.154 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.5984, allocations: 0 / 1.154 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5985, allocations: 326.8 kB / 1.154 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.5986, allocations: 104 kB / 1.154 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.5988, allocations: 170 kB / 1.154 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.5991, allocations: 159.8 kB / 1.155 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5991, allocations: 0 / 1.155 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007763/0.5999, allocations: 423.8 kB / 1.155 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.5999, allocations: 7.938 kB / 1.155 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5999, allocations: 0 / 1.155 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/0.6003, allocations: 96.97 kB / 1.155 GB, free: 8.887 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.6005, allocations: 47.91 kB / 1.155 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.6021, allocations: 1.651 MB / 1.157 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.6024, allocations: 4 kB / 1.157 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.6024, allocations: 11.98 kB / 1.157 GB, free: 7.055 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.527e-05/0.6025, allocations: 116.6 kB / 1.157 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.6025, allocations: 15.81 kB / 1.157 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.603, allocations: 306 kB / 1.157 GB, free: 6.625 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.6031, allocations: 4.094 kB / 1.157 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.6031, allocations: 11.94 kB / 1.157 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.6031, allocations: 3.984 kB / 1.157 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.6039, allocations: 0.6652 MB / 1.158 GB, free: 5.891 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6039, allocations: 0 / 1.158 GB, free: 5.891 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.6042, allocations: 55.95 kB / 1.158 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6043, allocations: 4 kB / 1.158 GB, free: 5.832 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.6043, allocations: 3.906 kB / 1.158 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.6043, allocations: 0 / 1.158 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6043, allocations: 4 kB / 1.158 GB, free: 5.824 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006315/0.6049, allocations: 0.5552 MB / 1.158 GB, free: 5.234 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.6051, allocations: 116.9 kB / 1.159 GB, free: 5.102 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.6051, allocations: 0 / 1.159 GB, free: 5.102 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.6053, allocations: 4 kB / 1.159 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.6053, allocations: 7.984 kB / 1.159 GB, free: 5.09 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.6053, allocations: 16.05 kB / 1.159 GB, free: 5.074 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.604e-05/0.6054, allocations: 131.5 kB / 1.159 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000326/0.6058, allocations: 67.94 kB / 1.159 GB, free: 4.879 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.6059, allocations: 119.2 kB / 1.159 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005644/0.6065, allocations: 393.6 kB / 1.159 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6065, allocations: 0 / 1.159 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.6067, allocations: 125.4 kB / 1.159 GB, free: 4.238 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.6069, allocations: 26 kB / 1.159 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.6079, allocations: 499.3 kB / 1.16 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.6083, allocations: 0.7973 MB / 1.161 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of SimCode: time 2.7e-07/0.6083, allocations: 0 / 1.161 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of Templates: time 0.005344/0.6136, allocations: 2.938 MB / 1.164 GB, free: 15.97 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)