Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7323/0.7323, allocations: 132.4 MB / 139.7 MB, free: 15.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001205/0.001206, allocations: 166 kB / 171.6 MB, free: 2.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.607/1.607, allocations: 170.5 MB / 373.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001732/0.001732, allocations: 110.2 kB / 444.4 MB, free: 9.422 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5464/0.5464, allocations: 73.39 MB / 0.666 GB, free: 62.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/0.7366, allocations: 127.6 MB / 0.7907 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005179/0.7372, allocations: 101 kB / 0.7908 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.05008/0.7873, allocations: 16.17 MB / 0.8065 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.911e-05/0.7873, allocations: 4 kB / 0.8065 GB, free: 8.23 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0009919/0.7883, allocations: 0.5157 MB / 0.8071 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7884, allocations: 8.031 kB / 0.8071 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009689/0.7894, allocations: 95.55 kB / 0.8072 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.7899, allocations: 260.3 kB / 0.8074 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.7899, allocations: 8 kB / 0.8074 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.316e-05/0.79, allocations: 12 kB / 0.8074 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004248/0.7904, allocations: 236.8 kB / 0.8076 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.7909, allocations: 331.7 kB / 0.808 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.791, allocations: 0 / 0.808 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.791, allocations: 0 / 0.808 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/0.7911, allocations: 32.42 kB / 0.808 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.793, allocations: 1.115 MB / 0.8091 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.7934, allocations: 202.5 kB / 0.8093 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.7936, allocations: 113.1 kB / 0.8094 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.7938, allocations: 81.11 kB / 0.8095 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.7938, allocations: 39.5 kB / 0.8095 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.175e-06/0.7938, allocations: 0 / 0.8095 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.00159/0.7954, allocations: 0.7399 MB / 0.8102 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.7955, allocations: 55.41 kB / 0.8103 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.7957, allocations: 166.3 kB / 0.8104 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.7957, allocations: 33.62 kB / 0.8105 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.7958, allocations: 147.8 kB / 0.8106 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.7959, allocations: 67.09 kB / 0.8107 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.7959, allocations: 4 kB / 0.8107 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.796, allocations: 326.8 kB / 0.811 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.7962, allocations: 112 kB / 0.8111 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.7964, allocations: 166.7 kB / 0.8112 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.7968, allocations: 162.2 kB / 0.8114 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7969, allocations: 0 / 0.8114 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009135/0.7978, allocations: 415.3 kB / 0.8118 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.7978, allocations: 4 kB / 0.8118 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.7978, allocations: 4 kB / 0.8118 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/0.7982, allocations: 92.77 kB / 0.8119 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.7985, allocations: 56.03 kB / 0.8119 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.8004, allocations: 1.64 MB / 0.8135 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.8007, allocations: 11.98 kB / 0.8136 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.8007, allocations: 8.938 kB / 0.8136 GB, free: 0.6211 MB / 0.5105 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.0001212/0.8009, allocations: 114 kB / 0.8137 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.8009, allocations: 15.81 kB / 0.8137 GB, free: 500 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005927/0.8015, allocations: 317.7 kB / 0.814 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.8015, allocations: 0 / 0.814 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.8015, allocations: 4 kB / 0.814 GB, free: 176 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.8016, allocations: 3.562 kB / 0.814 GB, free: 176 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.8026, allocations: 0.6645 MB / 0.8147 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.8026, allocations: 7.906 kB / 0.8147 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.803, allocations: 55.95 kB / 0.8147 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.803, allocations: 4.062 kB / 0.8147 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.803, allocations: 4 kB / 0.8147 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.803, allocations: 3.938 kB / 0.8147 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.803, allocations: 0 / 0.8147 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007059/0.8037, allocations: 0.5592 MB / 0.8153 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.8039, allocations: 120.8 kB / 0.8154 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.8039, allocations: 7.938 kB / 0.8154 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.8041, allocations: 7.922 kB / 0.8154 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.8042, allocations: 15.98 kB / 0.8154 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.8042, allocations: 7.906 kB / 0.8154 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001115/0.8043, allocations: 132.3 kB / 0.8156 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003958/0.8047, allocations: 71.98 kB / 0.8156 GB, free: 14.42 MB / 0.5261 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.0001821/0.8049, allocations: 119.2 kB / 0.8157 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006629/0.8056, allocations: 397.6 kB / 0.8161 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8056, allocations: 0 / 0.8161 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.8057, allocations: 124.3 kB / 0.8162 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.806, allocations: 24.48 kB / 0.8163 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.8073, allocations: 499.8 kB / 0.8167 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/0.8077, allocations: 0.8022 MB / 0.8175 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.8077, allocations: 0 / 0.8175 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.006514/0.8143, allocations: 2.933 MB / 0.8204 GB, free: 9.531 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)