Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.989/1.989, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 181.3 kB / 487 MB, free: 5.336 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 96.67 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.393e-06/7.423e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2612, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7112/0.9724, allocations: 164.7 MB / 1.366 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.9726, allocations: 96.44 kB / 1.366 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.08904/1.062, allocations: 33.92 MB / 1.399 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.637e-05/1.062, allocations: 20 kB / 1.399 GB, free: 14.42 MB / 0.8386 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.002912/1.065, allocations: 1.375 MB / 1.401 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/1.065, allocations: 13.03 kB / 1.401 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03031/1.095, allocations: 3.834 MB / 1.404 GB, free: 9.238 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/1.098, allocations: 1.476 MB / 1.406 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/1.099, allocations: 24 kB / 1.406 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004788/1.099, allocations: 44 kB / 1.406 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002686/1.102, allocations: 1.861 MB / 1.408 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/1.105, allocations: 1.868 MB / 1.41 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/1.105, allocations: 0 / 1.41 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/1.105, allocations: 3.984 kB / 1.41 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/1.105, allocations: 20 kB / 1.41 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/1.116, allocations: 8.159 MB / 1.418 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/1.119, allocations: 1.749 MB / 1.419 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/1.12, allocations: 1.494 MB / 1.421 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/1.121, allocations: 51.31 kB / 1.421 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/1.121, allocations: 35.09 kB / 1.421 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=70): time 2.565e-06/1.121, allocations: 0 / 1.421 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=70): time 0.01234/1.133, allocations: 5.493 MB / 1.426 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/1.133, allocations: 60 kB / 1.426 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/1.135, allocations: 1.049 MB / 1.427 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002988/1.135, allocations: 29.7 kB / 1.427 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/1.135, allocations: 329.2 kB / 1.428 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/1.136, allocations: 228.8 kB / 1.428 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/1.136, allocations: 0 / 1.428 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.136, allocations: 332.2 kB / 1.428 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/1.139, allocations: 2.169 MB / 1.43 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/1.142, allocations: 2.331 MB / 1.432 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/1.154, allocations: 4.131 MB / 1.437 GB, free: 140 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.154, allocations: 0 / 1.437 GB, free: 140 kB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.01918/1.174, allocations: 8.019 MB / 1.444 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/1.174, allocations: 103.5 kB / 1.444 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01903/1.193, allocations: 7.071 MB / 1.451 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02967/1.222, allocations: 4.999 MB / 1.456 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005697/1.228, allocations: 0.6945 MB / 1.457 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.239, allocations: 5.23 MB / 1.462 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007805/1.247, allocations: 0.8422 MB / 1.463 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/1.247, allocations: 67.92 kB / 1.463 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.247, allocations: 4 kB / 1.463 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01933/1.267, allocations: 7.208 MB / 1.47 GB, free: 264 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01812/1.285, allocations: 6.681 MB / 1.476 GB, free: 9.566 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/1.288, allocations: 1 MB / 1.477 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007644/1.296, allocations: 0.9206 MB / 1.478 GB, free: 7.641 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/1.308, allocations: 6.711 MB / 1.485 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008105/1.317, allocations: 0.8345 MB / 1.486 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004551/1.317, allocations: 67.91 kB / 1.486 GB, free: 15.9 MB / 0.9167 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.0006423/1.318, allocations: 116.9 kB / 1.486 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/1.318, allocations: 98.69 kB / 1.486 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/1.33, allocations: 5.047 MB / 1.491 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/1.33, allocations: 16 kB / 1.491 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/1.33, allocations: 0 / 1.491 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.33, allocations: 3.984 kB / 1.491 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/1.342, allocations: 7.042 MB / 1.498 GB, free: 3.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04857/1.391, allocations: 7.678 MB / 1.505 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002964/1.394, allocations: 355.6 kB / 1.506 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05063/1.445, allocations: 6.768 MB / 1.512 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/1.445, allocations: 27.95 kB / 1.512 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/1.458, allocations: 4.323 MB / 1.516 GB, free: 148 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/1.458, allocations: 0 / 1.516 GB, free: 148 kB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06913/1.527, allocations: 7.907 MB / 1.524 GB, free: 8.195 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.529, allocations: 0.5462 MB / 1.525 GB, free: 7.629 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000459/1.529, allocations: 0 / 1.525 GB, free: 7.629 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00488/1.534, allocations: 0.5266 MB / 1.525 GB, free: 7.102 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.534, allocations: 36.59 kB / 1.525 GB, free: 7.062 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/1.534, allocations: 47.95 kB / 1.525 GB, free: 7.016 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001237/1.536, allocations: 0.8051 MB / 1.526 GB, free: 6.199 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002375/1.538, allocations: 0.7525 MB / 1.527 GB, free: 5.445 MB / 0.948 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.0006242/1.539, allocations: 327.9 kB / 1.527 GB, free: 5.121 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009818/1.548, allocations: 6.059 MB / 1.533 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.548, allocations: 0 / 1.533 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002738/1.551, allocations: 1.551 MB / 1.535 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/1.552, allocations: 212.4 kB / 1.535 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/1.558, allocations: 2.908 MB / 1.538 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/1.56, allocations: 1.467 MB / 1.539 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/1.56, allocations: 3.938 kB / 1.539 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of Templates: time 0.1215/1.682, allocations: 84.42 MB / 1.622 GB, free: 4.441 MB / 1.042 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches