Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") [: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 7.0.3-maint.7.0.x/package.mo): time 1.216/1.216, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009985/0.0009986, allocations: 184.6 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.023/1.023, allocations: 205.1 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007785/0.0007784, allocations: 90.02 kB / 0.671 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.792e-06/6.822e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4116/0.5442, allocations: 148.2 MB / 1.029 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.5444, allocations: 92.88 kB / 1.029 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.08703/0.6315, allocations: 33.38 MB / 1.062 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.534e-05/0.6316, allocations: 28 kB / 1.062 GB, free: 11.24 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002252/0.6338, allocations: 1.37 MB / 1.063 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.6339, allocations: 12.03 kB / 1.063 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02895/0.6628, allocations: 3.829 MB / 1.067 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/0.6656, allocations: 1.468 MB / 1.069 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.6656, allocations: 24 kB / 1.069 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/0.666, allocations: 44 kB / 1.069 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002334/0.6683, allocations: 1.861 MB / 1.07 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.6707, allocations: 1.866 MB / 1.072 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.6708, allocations: 0 / 1.072 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.6709, allocations: 0 / 1.072 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.6709, allocations: 16 kB / 1.072 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.681, allocations: 8.156 MB / 1.08 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.6831, allocations: 1.747 MB / 1.082 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.6848, allocations: 1.499 MB / 1.083 GB, free: 9.137 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.6849, allocations: 48.42 kB / 1.083 GB, free: 9.098 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.6849, allocations: 45.59 kB / 1.083 GB, free: 9.051 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.196e-06/0.685, allocations: 0 / 1.083 GB, free: 9.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.01162/0.6966, allocations: 5.466 MB / 1.089 GB, free: 5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.6966, allocations: 56.06 kB / 1.089 GB, free: 4.934 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.698, allocations: 1.052 MB / 1.09 GB, free: 4.133 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002401/0.6983, allocations: 25.7 kB / 1.09 GB, free: 4.102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.6986, allocations: 332.9 kB / 1.09 GB, free: 3.816 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.6989, allocations: 227.2 kB / 1.09 GB, free: 3.617 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.6991, allocations: 0 / 1.09 GB, free: 3.617 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6992, allocations: 338.8 kB / 1.091 GB, free: 3.289 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/0.7019, allocations: 2.172 MB / 1.093 GB, free: 1.117 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002761/0.7046, allocations: 2.329 MB / 1.095 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/0.7168, allocations: 4.101 MB / 1.099 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.7168, allocations: 0 / 1.099 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.01778/0.7346, allocations: 7.975 MB / 1.107 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.7347, allocations: 99.53 kB / 1.107 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0177/0.7524, allocations: 7.026 MB / 1.114 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02896/0.7814, allocations: 4.999 MB / 1.119 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005732/0.7871, allocations: 0.6983 MB / 1.119 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009966/0.7971, allocations: 5.222 MB / 1.125 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0077/0.8049, allocations: 0.8344 MB / 1.125 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/0.8052, allocations: 71.91 kB / 1.125 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.8052, allocations: 8 kB / 1.125 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01792/0.8231, allocations: 7.165 MB / 1.132 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01689/0.84, allocations: 6.646 MB / 1.139 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003361/0.8434, allocations: 1 MB / 1.14 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007307/0.8507, allocations: 0.913 MB / 1.141 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.8608, allocations: 6.722 MB / 1.147 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007447/0.8683, allocations: 0.8306 MB / 1.148 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.8685, allocations: 67.91 kB / 1.148 GB, free: 8.152 MB / 0.7605 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 (29): * Single equations (assignments): 28 * 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 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.0003885/0.8689, allocations: 108.9 kB / 1.148 GB, free: 8.039 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.8692, allocations: 102.7 kB / 1.148 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.8794, allocations: 5.036 MB / 1.153 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.8794, allocations: 8 kB / 1.153 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.8794, allocations: 3.906 kB / 1.153 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.8794, allocations: 7.984 kB / 1.153 GB, free: 2.867 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.8901, allocations: 7.038 MB / 1.16 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04603/0.9361, allocations: 7.588 MB / 1.168 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002757/0.9389, allocations: 371.5 kB / 1.168 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04314/0.9821, allocations: 6.757 MB / 1.175 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002752/0.9824, allocations: 31.86 kB / 1.175 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007189/0.9896, allocations: 4.316 MB / 1.179 GB, free: 8.488 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.9896, allocations: 7.984 kB / 1.179 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0456/1.035, allocations: 7.821 MB / 1.187 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.036, allocations: 0.5501 MB / 1.187 GB, free: 52 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/1.037, allocations: 4 kB / 1.187 GB, free: 48 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004522/1.041, allocations: 0.5149 MB / 1.188 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.041, allocations: 40.59 kB / 1.188 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.042, allocations: 43.95 kB / 1.188 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.001027/1.043, allocations: 0.8088 MB / 1.188 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002037/1.045, allocations: 0.7564 MB / 1.189 GB, free: 13.87 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005478/1.045, allocations: 320.9 kB / 1.189 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00943/1.055, allocations: 6.055 MB / 1.195 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.055, allocations: 0 / 1.195 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002739/1.057, allocations: 1.551 MB / 1.197 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/1.059, allocations: 204.5 kB / 1.197 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/1.064, allocations: 2.911 MB / 1.2 GB, free: 2.766 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.066, allocations: 1.467 MB / 1.201 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/1.066, allocations: 0 / 1.201 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of Templates: time 0.378/1.444, allocations: 84.39 MB / 1.284 GB, free: 217.5 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches