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.GeneralizedSensor.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.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.149/2.149, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001559/0.001559, allocations: 189.2 kB / 360.4 MB, free: 7.5 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.627/1.627, allocations: 205.1 MB / 0.6188 GB, free: 12.47 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.00121/0.001209, allocations: 90.72 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.334e-06, allocations: 0 / 0.8503 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5334, allocations: 115.2 MB / 0.9628 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/0.7727, allocations: 163.8 MB / 1.123 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/0.7731, allocations: 100.4 kB / 1.123 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.06345/0.8366, allocations: 16.02 MB / 1.139 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.913e-05/0.8366, allocations: 4 kB / 1.139 GB, free: 8.742 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.001071/0.8377, allocations: 0.5137 MB / 1.139 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.8378, allocations: 8.531 kB / 1.139 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.8391, allocations: 95.61 kB / 1.139 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.8396, allocations: 267 kB / 1.139 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.8397, allocations: 8 kB / 1.139 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.8398, allocations: 12 kB / 1.139 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000648/0.8404, allocations: 236.8 kB / 1.14 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007646/0.8412, allocations: 335.7 kB / 1.14 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.8412, allocations: 4 kB / 1.14 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.8413, allocations: 0 / 1.14 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.8413, allocations: 21.55 kB / 1.14 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.8439, allocations: 1.474 MB / 1.141 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.8444, allocations: 203.9 kB / 1.142 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.8447, allocations: 113.1 kB / 1.142 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.8449, allocations: 89 kB / 1.142 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.8449, allocations: 38.56 kB / 1.142 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.864e-06/0.8449, allocations: 0 / 1.142 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.002109/0.847, allocations: 0.7333 MB / 1.143 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.8471, allocations: 51.41 kB / 1.143 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.8473, allocations: 161.5 kB / 1.143 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.8474, allocations: 25.7 kB / 1.143 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.8475, allocations: 164.1 kB / 1.143 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.8476, allocations: 64.61 kB / 1.143 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.8476, allocations: 0 / 1.143 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8477, allocations: 322.8 kB / 1.143 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.848, allocations: 116 kB / 1.143 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.8483, allocations: 158 kB / 1.144 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.8489, allocations: 161.5 kB / 1.144 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8489, allocations: 0 / 1.144 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001403/0.8503, allocations: 413.9 kB / 1.144 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.8504, allocations: 4 kB / 1.144 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8504, allocations: 8.125 kB / 1.144 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/0.851, allocations: 96.77 kB / 1.144 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.8514, allocations: 47.91 kB / 1.144 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/0.854, allocations: 1.642 MB / 1.146 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.8544, allocations: 11.98 kB / 1.146 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.8544, allocations: 12.06 kB / 1.146 GB, free: 0.668 MB / 0.7448 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 0.0001181/0.8546, allocations: 108.7 kB / 1.146 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.8546, allocations: 15.81 kB / 1.146 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009446/0.8556, allocations: 317.4 kB / 1.146 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.8556, allocations: 7.906 kB / 1.146 GB, free: 232 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.8556, allocations: 0 / 1.146 GB, free: 232 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.8556, allocations: 0 / 1.146 GB, free: 232 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.8572, allocations: 0.6741 MB / 1.147 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8572, allocations: 0 / 1.147 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.8578, allocations: 55.95 kB / 1.147 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.8578, allocations: 0 / 1.147 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.8578, allocations: 7.906 kB / 1.147 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8579, allocations: 1.219 kB / 1.147 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.8579, allocations: 0 / 1.147 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001122/0.859, allocations: 0.5513 MB / 1.148 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.8592, allocations: 119 kB / 1.148 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.8592, allocations: 4.062 kB / 1.148 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.8596, allocations: 11.98 kB / 1.148 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.8596, allocations: 7.984 kB / 1.148 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.8596, allocations: 8 kB / 1.148 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001489/0.8598, allocations: 128.2 kB / 1.148 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005267/0.8603, allocations: 71.94 kB / 1.148 GB, free: 14.5 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.0001874/0.8605, allocations: 115.2 kB / 1.148 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000992/0.8615, allocations: 402.1 kB / 1.148 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8616, allocations: 3.938 kB / 1.148 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.8618, allocations: 121.9 kB / 1.149 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.8622, allocations: 31.05 kB / 1.149 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.8639, allocations: 490.7 kB / 1.149 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/0.8644, allocations: 0.805 MB / 1.15 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of SimCode: time 7.21e-07/0.8644, allocations: 0 / 1.15 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of Templates: time 0.009209/0.8736, allocations: 2.925 MB / 1.153 GB, free: 9.641 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)