Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") [: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.942/1.942, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001113/0.001113, allocations: 185.2 kB / 487 MB, free: 5.312 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.277/1.277, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.0009013/0.0009013, allocations: 96.66 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.582e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2474, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.724/0.9715, allocations: 153.9 MB / 1.356 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/0.9719, allocations: 90.97 kB / 1.356 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02367/0.9956, allocations: 7.3 MB / 1.363 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.9956, allocations: 4 kB / 1.363 GB, free: 13.75 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007094/0.9963, allocations: 0.5 MB / 1.363 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.9964, allocations: 8.031 kB / 1.363 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.9965, allocations: 27.62 kB / 1.363 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.9971, allocations: 328.6 kB / 1.364 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.326e-05/0.9972, allocations: 67.39 kB / 1.364 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.9972, allocations: 7.984 kB / 1.364 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001711/0.9974, allocations: 97.91 kB / 1.364 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.9975, allocations: 88.81 kB / 1.364 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.9975, allocations: 4 kB / 1.364 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.9975, allocations: 0 / 1.364 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.9976, allocations: 0 / 1.364 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.9978, allocations: 218.4 kB / 1.364 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.9991, allocations: 356 kB / 1.364 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.9992, allocations: 56.62 kB / 1.364 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.9993, allocations: 109 kB / 1.365 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.9994, allocations: 34.56 kB / 1.365 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.9994, allocations: 0 / 1.365 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0003842/0.9998, allocations: 152.7 kB / 1.365 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.9998, allocations: 66.77 kB / 1.365 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/1, allocations: 246.9 kB / 1.365 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/1, allocations: 29.69 kB / 1.365 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/1, allocations: 114.3 kB / 1.365 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/1, allocations: 15.06 kB / 1.365 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/1, allocations: 0 / 1.365 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/1, allocations: 345.3 kB / 1.365 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/1, allocations: 127.9 kB / 1.366 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/1, allocations: 129 kB / 1.366 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/1.001, allocations: 264.5 kB / 1.366 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.001, allocations: 0 / 1.366 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007582/1.002, allocations: 0.5236 MB / 1.366 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/1.002, allocations: 8 kB / 1.366 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.002, allocations: 3.984 kB / 1.366 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.002, allocations: 4 kB / 1.367 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/1.002, allocations: 15.98 kB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/1.002, allocations: 8.141 kB / 1.367 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/1.002, allocations: 31.53 kB / 1.367 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/1.002, allocations: 12 kB / 1.367 GB, free: 10.01 MB / 0.8073 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 (8): * Single equations (assignments): 6 * 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 7.092e-05/1.002, allocations: 108.8 kB / 1.367 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/1.002, allocations: 19.72 kB / 1.367 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/1.003, allocations: 208.4 kB / 1.367 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.003, allocations: 0 / 1.367 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.003, allocations: 0 / 1.367 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.003, allocations: 4 kB / 1.367 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/1.003, allocations: 203.8 kB / 1.367 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.003, allocations: 0 / 1.367 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/1.003, allocations: 24.11 kB / 1.367 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.003, allocations: 4 kB / 1.367 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/1.003, allocations: 0 / 1.367 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.003, allocations: 0 / 1.367 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.003, allocations: 0 / 1.367 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002573/1.003, allocations: 197.8 kB / 1.367 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/1.003, allocations: 111.8 kB / 1.367 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/1.003, allocations: 0 / 1.367 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/1.003, allocations: 7.984 kB / 1.367 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/1.004, allocations: 4 kB / 1.367 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/1.004, allocations: 14.92 kB / 1.367 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001172/1.004, allocations: 181.2 kB / 1.368 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004833/1.004, allocations: 125.1 kB / 1.368 GB, free: 8.824 MB / 0.8073 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004082/1.005, allocations: 240.5 kB / 1.368 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003023/1.005, allocations: 351.3 kB / 1.368 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.005, allocations: 0 / 1.368 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.757e-05/1.005, allocations: 51.3 kB / 1.368 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/1.005, allocations: 32.12 kB / 1.368 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/1.006, allocations: 249 kB / 1.369 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/1.006, allocations: 0.7659 MB / 1.369 GB, free: 23.21 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/1.006, allocations: 0 / 1.369 GB, free: 23.21 MB / 0.823 GB Notification: Performance of Templates: time 0.006204/1.012, allocations: 3.364 MB / 1.373 GB, free: 19.91 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches