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.GeneralizedSensor.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.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.331/1.331, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001047/0.001048, allocations: 181.3 kB / 361.1 MB, free: 7.113 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.9997/0.9997, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.000751/0.000751, allocations: 99.14 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.073e-06, allocations: 4 kB / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3937, allocations: 115.3 MB / 0.9637 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.5441, allocations: 164 MB / 1.124 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.5443, allocations: 99.92 kB / 1.124 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.03806/0.5824, allocations: 16.03 MB / 1.14 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.5824, allocations: 4 kB / 1.14 GB, free: 7.879 MB / 0.7448 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.0006728/0.5831, allocations: 0.5137 MB / 1.14 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.5831, allocations: 8.531 kB / 1.14 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007884/0.5839, allocations: 97.28 kB / 1.14 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.5843, allocations: 267 kB / 1.14 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.5843, allocations: 4 kB / 1.14 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.5844, allocations: 12 kB / 1.14 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003608/0.5848, allocations: 232.8 kB / 1.141 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.5852, allocations: 335.7 kB / 1.141 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.5852, allocations: 0 / 1.141 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.5853, allocations: 9.672 kB / 1.141 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.5853, allocations: 24.42 kB / 1.141 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.5869, allocations: 1.474 MB / 1.142 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.5872, allocations: 194.5 kB / 1.143 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.5873, allocations: 113.1 kB / 1.143 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.5875, allocations: 93 kB / 1.143 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.5875, allocations: 38.5 kB / 1.143 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.5875, allocations: 0 / 1.143 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.001293/0.5888, allocations: 0.73 MB / 1.144 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.5889, allocations: 51.41 kB / 1.144 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.589, allocations: 157.5 kB / 1.144 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.589, allocations: 25.7 kB / 1.144 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.5891, allocations: 168.1 kB / 1.144 GB, free: 3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.5892, allocations: 67 kB / 1.144 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.5892, allocations: 0 / 1.144 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5893, allocations: 330.8 kB / 1.144 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.5895, allocations: 108 kB / 1.144 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.5896, allocations: 166.8 kB / 1.145 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.59, allocations: 155 kB / 1.145 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.59, allocations: 4 kB / 1.145 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000791/0.5908, allocations: 410 kB / 1.145 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.5908, allocations: 11.94 kB / 1.145 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5908, allocations: 0 / 1.145 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/0.5912, allocations: 98.59 kB / 1.145 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.5914, allocations: 51.91 kB / 1.145 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.5931, allocations: 1.645 MB / 1.147 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.5933, allocations: 7.984 kB / 1.147 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.5933, allocations: 8 kB / 1.147 GB, free: 15.81 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.448e-05/0.5934, allocations: 105 kB / 1.147 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.5935, allocations: 19.75 kB / 1.147 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005377/0.594, allocations: 309.1 kB / 1.147 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.594, allocations: 3.906 kB / 1.147 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.5941, allocations: 0 / 1.147 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.5941, allocations: 7.984 kB / 1.147 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008735/0.595, allocations: 0.6651 MB / 1.148 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.595, allocations: 0 / 1.148 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.5953, allocations: 55.97 kB / 1.148 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5953, allocations: 0 / 1.148 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.5953, allocations: 14.09 kB / 1.148 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5953, allocations: 0 / 1.148 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5953, allocations: 4 kB / 1.148 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006553/0.596, allocations: 0.5489 MB / 1.149 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.5961, allocations: 112.9 kB / 1.149 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.5962, allocations: 4 kB / 1.149 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.5963, allocations: 11.97 kB / 1.149 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.5964, allocations: 11.98 kB / 1.149 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.5964, allocations: 7.938 kB / 1.149 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000105/0.5965, allocations: 132.3 kB / 1.149 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003485/0.5969, allocations: 72 kB / 1.149 GB, free: 13.64 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.000142/0.597, allocations: 115 kB / 1.149 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005932/0.5976, allocations: 408.8 kB / 1.149 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5976, allocations: 384 / 1.149 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.5978, allocations: 126.2 kB / 1.15 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.598, allocations: 23.92 kB / 1.15 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.599, allocations: 494.8 kB / 1.15 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.5994, allocations: 0.8004 MB / 1.151 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of SimCode: time 2.71e-07/0.5994, allocations: 0 / 1.151 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of Templates: time 0.005449/0.6049, allocations: 2.938 MB / 1.154 GB, free: 8.781 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)