Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.972/1.972, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001052/0.001052, allocations: 177.3 kB / 490.8 MB, free: 1.973 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.543/1.543, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 96.69 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.996e-06/9.016e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3154, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7975/1.113, allocations: 165.5 MB / 1.373 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.113, allocations: 91.45 kB / 1.373 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.09671/1.21, allocations: 33.93 MB / 1.406 GB, free: 3.977 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001317/1.21, allocations: 24 kB / 1.406 GB, free: 3.953 MB / 0.823 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.003909/1.214, allocations: 1.383 MB / 1.408 GB, free: 18.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.214, allocations: 8.031 kB / 1.408 GB, free: 18.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03082/1.245, allocations: 3.832 MB / 1.412 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004834/1.25, allocations: 1.465 MB / 1.413 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/1.25, allocations: 27.91 kB / 1.413 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007091/1.251, allocations: 47.98 kB / 1.413 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003303/1.254, allocations: 1.864 MB / 1.415 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/1.258, allocations: 1.864 MB / 1.417 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/1.258, allocations: 0 / 1.417 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/1.258, allocations: 3.984 kB / 1.417 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/1.258, allocations: 16 kB / 1.417 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01443/1.273, allocations: 8.15 MB / 1.425 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/1.275, allocations: 1.75 MB / 1.426 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/1.277, allocations: 1.504 MB / 1.428 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/1.278, allocations: 49.08 kB / 1.428 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/1.278, allocations: 45.47 kB / 1.428 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=70): time 2.925e-06/1.278, allocations: 0 / 1.428 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=70): time 0.01371/1.291, allocations: 5.487 MB / 1.433 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/1.291, allocations: 60.06 kB / 1.433 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/1.294, allocations: 1.049 MB / 1.434 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003874/1.294, allocations: 25.7 kB / 1.434 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/1.295, allocations: 324.3 kB / 1.435 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005008/1.295, allocations: 228.6 kB / 1.435 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/1.295, allocations: 0 / 1.435 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.296, allocations: 344.2 kB / 1.435 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/1.299, allocations: 2.173 MB / 1.437 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/1.302, allocations: 2.328 MB / 1.44 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/1.315, allocations: 4.13 MB / 1.444 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/1.315, allocations: 4 kB / 1.444 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02145/1.337, allocations: 8.014 MB / 1.451 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.002e-05/1.337, allocations: 102.3 kB / 1.452 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02087/1.358, allocations: 7.065 MB / 1.458 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03041/1.388, allocations: 5.003 MB / 1.463 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005644/1.394, allocations: 0.6983 MB / 1.464 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.406, allocations: 5.235 MB / 1.469 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008085/1.414, allocations: 0.8421 MB / 1.47 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000504/1.414, allocations: 63.92 kB / 1.47 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.415, allocations: 4 kB / 1.47 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02062/1.435, allocations: 7.211 MB / 1.477 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01895/1.454, allocations: 6.671 MB / 1.484 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003547/1.458, allocations: 1 MB / 1.485 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007636/1.465, allocations: 0.909 MB / 1.485 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/1.478, allocations: 6.729 MB / 1.492 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00783/1.485, allocations: 0.8306 MB / 1.493 GB, free: 6.141 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005219/1.486, allocations: 67.91 kB / 1.493 GB, free: 6.074 MB / 0.9011 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.0007032/1.487, allocations: 108.9 kB / 1.493 GB, free: 5.961 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/1.487, allocations: 102.7 kB / 1.493 GB, free: 5.859 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.499, allocations: 5.054 MB / 1.498 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.499, allocations: 8 kB / 1.498 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.499, allocations: 3.906 kB / 1.498 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.499, allocations: 7.984 kB / 1.498 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/1.514, allocations: 7.045 MB / 1.505 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04853/1.562, allocations: 7.671 MB / 1.512 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002825/1.565, allocations: 367.6 kB / 1.513 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04543/1.61, allocations: 6.749 MB / 1.519 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003542/1.611, allocations: 31.86 kB / 1.519 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009024/1.62, allocations: 4.327 MB / 1.524 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.62, allocations: 0 / 1.524 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04829/1.668, allocations: 7.901 MB / 1.531 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/1.67, allocations: 0.5462 MB / 1.532 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006621/1.671, allocations: 4 kB / 1.532 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005149/1.676, allocations: 0.5188 MB / 1.532 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/1.676, allocations: 44.59 kB / 1.532 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/1.676, allocations: 43.95 kB / 1.532 GB, free: 13.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001609/1.678, allocations: 0.8051 MB / 1.533 GB, free: 12.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003231/1.681, allocations: 0.7564 MB / 1.534 GB, free: 11.65 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.0008382/1.682, allocations: 336.4 kB / 1.534 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.693, allocations: 6.055 MB / 1.54 GB, free: 5.266 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.693, allocations: 0 / 1.54 GB, free: 5.266 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003159/1.696, allocations: 1.559 MB / 1.542 GB, free: 3.711 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/1.698, allocations: 200.6 kB / 1.542 GB, free: 3.512 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007801/1.706, allocations: 2.916 MB / 1.545 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001967/1.708, allocations: 1.467 MB / 1.546 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of SimCode: time 9.01e-07/1.708, allocations: 0 / 1.546 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of Templates: time 0.1342/1.842, allocations: 84.41 MB / 1.629 GB, free: 10.77 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches