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: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) [: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.945/1.945, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001124/0.001124, allocations: 181.3 kB / 487 MB, free: 5.395 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.36/1.36, allocations: 221.3 MB / 0.7819 GB, free: 1.434 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.0008524/0.0008523, allocations: 94.92 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5035/0.5044, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.7356, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6745/1.41, allocations: 153.9 MB / 1.356 GB, free: 16.23 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/1.411, allocations: 91.56 kB / 1.356 GB, free: 16.23 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.02222/1.433, allocations: 7.804 MB / 1.363 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/1.433, allocations: 8 kB / 1.363 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/1.433, allocations: 23.62 kB / 1.363 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/1.433, allocations: 328.4 kB / 1.364 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-05/1.434, allocations: 63.39 kB / 1.364 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/1.434, allocations: 0 / 1.364 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00017/1.434, allocations: 103.6 kB / 1.364 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/1.434, allocations: 85.19 kB / 1.364 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/1.434, allocations: 7.938 kB / 1.364 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.434, allocations: 4 kB / 1.364 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/1.434, allocations: 0 / 1.364 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/1.434, allocations: 219 kB / 1.364 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/1.435, allocations: 351.8 kB / 1.364 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/1.436, allocations: 56.06 kB / 1.364 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/1.436, allocations: 109 kB / 1.365 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/1.436, allocations: 38.25 kB / 1.365 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/1.436, allocations: 8 kB / 1.365 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.000386/1.436, allocations: 155.1 kB / 1.365 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/1.436, allocations: 55.41 kB / 1.365 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/1.436, allocations: 253.8 kB / 1.365 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/1.436, allocations: 25.7 kB / 1.365 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/1.436, allocations: 114.9 kB / 1.365 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/1.436, allocations: 19.19 kB / 1.365 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/1.436, allocations: 0 / 1.365 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/1.437, allocations: 342.4 kB / 1.366 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/1.437, allocations: 132.5 kB / 1.366 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/1.437, allocations: 133 kB / 1.366 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005292/1.437, allocations: 257 kB / 1.366 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.437, allocations: 0 / 1.366 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007299/1.438, allocations: 0.5244 MB / 1.367 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.438, allocations: 4 kB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.438, allocations: 3.984 kB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/1.438, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/1.438, allocations: 19.94 kB / 1.367 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/1.438, allocations: 3.984 kB / 1.367 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/1.438, allocations: 35.53 kB / 1.367 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/1.438, allocations: 8 kB / 1.367 GB, free: 9.988 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 5.193e-05/1.438, allocations: 104.9 kB / 1.367 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/1.438, allocations: 19.72 kB / 1.367 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/1.439, allocations: 216.8 kB / 1.367 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.439, allocations: 0 / 1.367 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.439, allocations: 0 / 1.367 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.439, allocations: 4 kB / 1.367 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/1.439, allocations: 207.1 kB / 1.367 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.439, allocations: 0 / 1.367 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/1.439, allocations: 19.92 kB / 1.367 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.439, allocations: 0 / 1.367 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/1.439, allocations: 8 kB / 1.367 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.439, allocations: 0 / 1.367 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.439, allocations: 0 / 1.367 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002491/1.439, allocations: 190.3 kB / 1.367 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003213/1.44, allocations: 0.567 MB / 1.368 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/1.44, allocations: 115.9 kB / 1.368 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/1.44, allocations: 3.906 kB / 1.368 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.44, allocations: 7.984 kB / 1.368 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/1.44, allocations: 7.984 kB / 1.368 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.44, allocations: 4 kB / 1.368 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001218/1.44, allocations: 188.5 kB / 1.368 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001024/1.441, allocations: 126.5 kB / 1.368 GB, free: 8.23 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.0003743/1.442, allocations: 247.8 kB / 1.369 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002936/1.442, allocations: 345.2 kB / 1.369 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/1.442, allocations: 0 / 1.369 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.547e-05/1.442, allocations: 47.42 kB / 1.369 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/1.442, allocations: 34.83 kB / 1.369 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/1.443, allocations: 245.9 kB / 1.369 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/1.443, allocations: 0.7547 MB / 1.37 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of SimCode: time 2.71e-07/1.443, allocations: 0 / 1.37 GB, free: 6.633 MB / 0.8073 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)