Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") [: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.411/1.411, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001027/0.001027, allocations: 171.2 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0009078/0.0009079, allocations: 92.16 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.117e-06, allocations: 0 / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.7767, allocations: 115.3 MB / 0.9637 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.9729, allocations: 142.7 MB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.9734, allocations: 85.02 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02019/0.9936, allocations: 6.331 MB / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.732e-05/0.9936, allocations: 12 kB / 1.109 GB, free: 6.977 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001012/0.9947, allocations: 0.6384 MB / 1.11 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.9947, allocations: 8.031 kB / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.9948, allocations: 51.34 kB / 1.11 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.9953, allocations: 319.7 kB / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.9954, allocations: 8 kB / 1.11 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.9954, allocations: 21.69 kB / 1.11 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004293/0.9958, allocations: 217.5 kB / 1.111 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.9963, allocations: 310.5 kB / 1.111 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.9964, allocations: 0 / 1.111 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.9964, allocations: 3.906 kB / 1.111 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.9964, allocations: 8 kB / 1.111 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.9983, allocations: 1.389 MB / 1.112 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.9988, allocations: 234.5 kB / 1.112 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.9991, allocations: 161.3 kB / 1.113 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.9992, allocations: 240 / 1.113 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.9992, allocations: 42.78 kB / 1.113 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.182e-06/0.9992, allocations: 0 / 1.113 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.001052/1, allocations: 388.5 kB / 1.113 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/1, allocations: 55.41 kB / 1.113 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/1.001, allocations: 255.4 kB / 1.113 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/1.001, allocations: 25.7 kB / 1.113 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/1.001, allocations: 187.9 kB / 1.113 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/1.001, allocations: 90.75 kB / 1.114 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/1.001, allocations: 3.75 kB / 1.114 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.001, allocations: 346.7 kB / 1.114 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/1.001, allocations: 68.56 kB / 1.114 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/1.001, allocations: 139.7 kB / 1.114 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/1.001, allocations: 92.75 kB / 1.114 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.001, allocations: 0 / 1.114 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009848/1.002, allocations: 421.6 kB / 1.115 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00029/1.003, allocations: 0.5254 MB / 1.115 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.003, allocations: 0 / 1.115 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007753/1.004, allocations: 174.1 kB / 1.115 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/1.004, allocations: 43.92 kB / 1.115 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009407/1.005, allocations: 0.8281 MB / 1.116 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/1.005, allocations: 31.77 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/1.005, allocations: 8 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/1.005, allocations: 8.062 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009382/1.006, allocations: 365 kB / 1.116 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/1.006, allocations: 0 / 1.116 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006776/1.007, allocations: 177.6 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/1.007, allocations: 45.66 kB / 1.117 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/1.01, allocations: 2.242 MB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/1.01, allocations: 31.83 kB / 1.119 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/1.01, allocations: 12 kB / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001402/1.011, allocations: 111.8 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/1.011, allocations: 31.62 kB / 1.119 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.074e-05/1.011, allocations: 35.86 kB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/1.011, allocations: 7.938 kB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.011, allocations: 5.875 kB / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.011, allocations: 0 / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/1.011, allocations: 362.2 kB / 1.119 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.011, allocations: 0 / 1.119 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/1.011, allocations: 31.98 kB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006467/1.012, allocations: 164.7 kB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/1.012, allocations: 7.906 kB / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002818/1.015, allocations: 2.214 MB / 1.122 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.015, allocations: 8.047 kB / 1.122 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009206/1.016, allocations: 481.8 kB / 1.122 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/1.016, allocations: 136.6 kB / 1.122 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/1.016, allocations: 0 / 1.122 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/1.016, allocations: 11.91 kB / 1.122 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/1.016, allocations: 15.97 kB / 1.122 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/1.016, allocations: 8.75 kB / 1.122 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001893/1.016, allocations: 200 kB / 1.123 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006143/1.017, allocations: 195.4 kB / 1.123 GB, free: 8.457 MB / 0.7292 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 (11): * Single equations (assignments): 10 * 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: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001876/1.017, allocations: 111 kB / 1.123 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001038/1.018, allocations: 0.5077 MB / 1.123 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.018, allocations: 0 / 1.123 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004056/1.019, allocations: 261.9 kB / 1.124 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/1.019, allocations: 65.27 kB / 1.124 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/1.02, allocations: 485.5 kB / 1.124 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/1.021, allocations: 0.8268 MB / 1.125 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.021, allocations: 3.938 kB / 1.125 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of Templates: time 0.01227/1.033, allocations: 7.137 MB / 1.132 GB, free: 15.19 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)