Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") [: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.7102/0.7102, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001246/0.001247, allocations: 165.1 kB / 171.6 MB, free: 2.051 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.598/1.598, allocations: 170.5 MB / 373.9 MB, free: 15.89 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.00209/0.00209, allocations: 111 kB / 444.4 MB, free: 9.426 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.5902/0.5902, allocations: 73.39 MB / 0.666 GB, free: 62.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.7602, allocations: 108.7 MB / 0.7721 GB, free: 11.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.7606, allocations: 88.2 kB / 0.7722 GB, free: 11.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.05038/0.811, allocations: 15.43 MB / 0.7873 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.617e-05/0.8111, allocations: 11.98 kB / 0.7873 GB, free: 12.07 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001697/0.8128, allocations: 0.6559 MB / 0.788 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.8129, allocations: 8.031 kB / 0.788 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02707/0.84, allocations: 2.667 MB / 0.7906 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.8419, allocations: 0.6042 MB / 0.7912 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.842, allocations: 12 kB / 0.7912 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003941/0.8424, allocations: 16 kB / 0.7912 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001063/0.8435, allocations: 496.9 kB / 0.7917 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.8446, allocations: 0.523 MB / 0.7922 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.8446, allocations: 0 / 0.7922 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.8447, allocations: 0 / 0.7922 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.8447, allocations: 4 kB / 0.7922 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005273/0.85, allocations: 2.943 MB / 0.795 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/0.8508, allocations: 470.6 kB / 0.7955 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/0.8514, allocations: 329 kB / 0.7958 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.8516, allocations: 43.98 kB / 0.7958 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.8516, allocations: 30.56 kB / 0.7959 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 2.935e-06/0.8517, allocations: 0 / 0.7959 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.006987/0.8586, allocations: 1.386 MB / 0.7972 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.8587, allocations: 55.41 kB / 0.7973 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.8592, allocations: 239.5 kB / 0.7975 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002684/0.8595, allocations: 25.7 kB / 0.7975 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.8598, allocations: 172.3 kB / 0.7977 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.8599, allocations: 74.91 kB / 0.7978 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.8601, allocations: 5.719 kB / 0.7978 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002754/0.8604, allocations: 346.8 kB / 0.7981 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.8619, allocations: 0.8437 MB / 0.7989 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.8636, allocations: 0.9016 MB / 0.7998 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/0.8761, allocations: 2.237 MB / 0.802 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.8762, allocations: 0 / 0.802 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01568/0.8919, allocations: 3.296 MB / 0.8052 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.907e-05/0.8921, allocations: 99.41 kB / 0.8053 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01409/0.9062, allocations: 2.895 MB / 0.8081 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.421e-05/0.9063, allocations: 0 / 0.8081 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007809/0.9141, allocations: 0.6009 MB / 0.8087 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/0.9142, allocations: 0 / 0.8087 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006487/0.9207, allocations: 499.2 kB / 0.8092 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/0.9211, allocations: 55.92 kB / 0.8093 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9211, allocations: 4 kB / 0.8093 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01451/0.9356, allocations: 3.232 MB / 0.8124 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01305/0.9487, allocations: 2.874 MB / 0.8152 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.9488, allocations: 0 / 0.8152 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005905/0.9547, allocations: 0.6048 MB / 0.8158 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9548, allocations: 0.6562 kB / 0.8158 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005458/0.9602, allocations: 491.4 kB / 0.8163 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/0.9605, allocations: 51.92 kB / 0.8163 GB, free: 13.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 prepare postOptimizeDAE: time 0.0004504/0.961, allocations: 120.8 kB / 0.8164 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/0.9614, allocations: 31.62 kB / 0.8165 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006243/0.9677, allocations: 1.403 MB / 0.8178 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.9677, allocations: 7.922 kB / 0.8179 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.9677, allocations: 4 kB / 0.8179 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.9678, allocations: 0 / 0.8179 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.9692, allocations: 0.8749 MB / 0.8187 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004251/0.9735, allocations: 1.071 MB / 0.8198 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/0.9758, allocations: 251.6 kB / 0.82 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/0.9758, allocations: 8 kB / 0.82 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.786e-05/0.9759, allocations: 18.03 kB / 0.82 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.9759, allocations: 0 / 0.82 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.9759, allocations: 4 kB / 0.82 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004429/0.9804, allocations: 1.21 MB / 0.8212 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.9806, allocations: 112.6 kB / 0.8213 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.9807, allocations: 0 / 0.8213 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/0.9828, allocations: 179.8 kB / 0.8215 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.9829, allocations: 19.97 kB / 0.8215 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.008e-05/0.983, allocations: 15.98 kB / 0.8215 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002571/0.9833, allocations: 187.1 kB / 0.8217 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001546/0.9848, allocations: 367.3 kB / 0.8221 GB, free: 7.812 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007177/0.9856, allocations: 258.7 kB / 0.8223 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004062/0.9896, allocations: 1.98 MB / 0.8242 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9897, allocations: 0 / 0.8242 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.9903, allocations: 407.2 kB / 0.8246 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.9908, allocations: 50.59 kB / 0.8247 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.9931, allocations: 0.7183 MB / 0.8254 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/0.9943, allocations: 0.9332 MB / 0.8263 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of SimCode: time 1.413e-06/0.9943, allocations: 0 / 0.8263 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of Templates: time 0.08539/1.08, allocations: 42.76 MB / 0.868 GB, free: 8.543 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)