Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.969/1.969, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001033/0.001033, allocations: 185.2 kB / 490.8 MB, free: 1.938 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.307/1.307, allocations: 221.4 MB / 0.7863 GB, free: 13.7 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.0009306/0.0009304, allocations: 88.67 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.781e-06/5.811e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2352, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7345/0.9698, allocations: 154.7 MB / 1.363 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/0.9702, allocations: 90.89 kB / 1.363 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0208/0.991, allocations: 7.291 MB / 1.37 GB, free: 16.67 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.9911, allocations: 3.156 kB / 1.37 GB, free: 16.67 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006752/0.9918, allocations: 0.5019 MB / 1.37 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.9918, allocations: 9.359 kB / 1.37 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.9919, allocations: 29.56 kB / 1.37 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.9924, allocations: 333 kB / 1.371 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.74e-05/0.9925, allocations: 62.95 kB / 1.371 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.9926, allocations: 1.312 kB / 1.371 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001996/0.9928, allocations: 107.5 kB / 1.371 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.9929, allocations: 86.27 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.9929, allocations: 0 / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.993, allocations: 5.703 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.993, allocations: 0 / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.9932, allocations: 218.8 kB / 1.371 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.9946, allocations: 360.1 kB / 1.371 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.9947, allocations: 58.14 kB / 1.372 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.9948, allocations: 97.55 kB / 1.372 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.9949, allocations: 45.23 kB / 1.372 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.9949, allocations: 0 / 1.372 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003557/0.9952, allocations: 157.4 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.9953, allocations: 55.22 kB / 1.372 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.9955, allocations: 251.9 kB / 1.372 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.9955, allocations: 25.7 kB / 1.372 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.9956, allocations: 113.4 kB / 1.372 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.9956, allocations: 16.66 kB / 1.372 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-06/0.9956, allocations: 7.938 kB / 1.372 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.9957, allocations: 339.3 kB / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.9959, allocations: 129.9 kB / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.9961, allocations: 133.9 kB / 1.373 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/0.9966, allocations: 254.7 kB / 1.373 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9967, allocations: 0 / 1.373 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008344/0.9975, allocations: 0.5267 MB / 1.374 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.9975, allocations: 5.094 kB / 1.374 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.9975, allocations: 3.328 kB / 1.374 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.9976, allocations: 4 kB / 1.374 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.9977, allocations: 18.72 kB / 1.374 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.9977, allocations: 0 / 1.374 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.9978, allocations: 34.94 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.9979, allocations: 8.047 kB / 1.374 GB, free: 30.74 MB / 0.8386 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 6.685e-05/0.9979, allocations: 110.7 kB / 1.374 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.998, allocations: 24.69 kB / 1.374 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.9984, allocations: 203.5 kB / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.9984, allocations: 1.188 kB / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.9984, allocations: 0 / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.9984, allocations: 0.5156 kB / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.9986, allocations: 206.4 kB / 1.374 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.9986, allocations: 1.625 kB / 1.374 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.9987, allocations: 25.45 kB / 1.374 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.9987, allocations: 4 kB / 1.374 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.9987, allocations: 3.688 kB / 1.374 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.9987, allocations: 0 / 1.374 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9987, allocations: 6.312 kB / 1.374 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002901/0.999, allocations: 191.3 kB / 1.374 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.9991, allocations: 108.6 kB / 1.375 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.9992, allocations: 0.9375 kB / 1.375 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.9993, allocations: 9.656 kB / 1.375 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.9993, allocations: 9.594 kB / 1.375 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.9993, allocations: 9.219 kB / 1.375 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001548/0.9995, allocations: 185.6 kB / 1.375 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004696/1, allocations: 118.7 kB / 1.375 GB, free: 30.11 MB / 0.8386 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.0003834/1, allocations: 241.9 kB / 1.375 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003385/1.001, allocations: 344.7 kB / 1.375 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/1.001, allocations: 0 / 1.375 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/1.001, allocations: 50.17 kB / 1.375 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/1.001, allocations: 31.52 kB / 1.375 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/1.001, allocations: 249.7 kB / 1.376 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/1.002, allocations: 0.7617 MB / 1.376 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.002, allocations: 1.031 kB / 1.376 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of Templates: time 0.007513/1.009, allocations: 3.377 MB / 1.38 GB, free: 28.82 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches