Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.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.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1",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.977/1.977, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.00104/0.00104, allocations: 180.6 kB / 487 MB, free: 5.391 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.396/1.396, allocations: 221.3 MB / 0.7819 GB, free: 1.457 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.0009284/0.0009285, allocations: 98.94 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6559/0.6568, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.964, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/2.065, allocations: 418.8 MB / 1.614 GB, free: 3.762 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/2.065, allocations: 93.66 kB / 1.614 GB, free: 3.715 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 4.546/6.611, allocations: 1.342 GB / 2.956 GB, free: 44.92 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/6.611, allocations: 13 kB / 2.956 GB, free: 44.91 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004325/6.615, allocations: 0.6554 MB / 2.957 GB, free: 44.25 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/6.629, allocations: 4.407 MB / 2.961 GB, free: 39.77 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/6.629, allocations: 48 kB / 2.961 GB, free: 39.73 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005615/6.63, allocations: 123.9 kB / 2.961 GB, free: 39.61 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002811/6.632, allocations: 1.646 MB / 2.963 GB, free: 37.96 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/6.635, allocations: 1.849 MB / 2.965 GB, free: 35.97 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/6.635, allocations: 3.938 kB / 2.965 GB, free: 35.96 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/6.635, allocations: 8 kB / 2.965 GB, free: 35.96 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/6.635, allocations: 40 kB / 2.965 GB, free: 35.92 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/6.649, allocations: 11.58 MB / 2.976 GB, free: 23.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/6.65, allocations: 1.218 MB / 2.977 GB, free: 22.46 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009912/6.651, allocations: 0.9221 MB / 2.978 GB, free: 21.54 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005712/6.657, allocations: 3.383 MB / 2.981 GB, free: 17.88 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008275/6.658, allocations: 0.6565 MB / 2.982 GB, free: 17.21 MB / 1.151 GB Notification: Performance of pre-optimization done (n=98): time 3.377e-06/6.658, allocations: 0 / 2.982 GB, free: 17.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=98): time 0.004468/6.662, allocations: 2.037 MB / 2.984 GB, free: 15.16 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/6.662, allocations: 64.19 kB / 2.984 GB, free: 15.08 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/6.666, allocations: 2.245 MB / 2.986 GB, free: 12.84 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/6.666, allocations: 29.7 kB / 2.986 GB, free: 12.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007012/6.666, allocations: 0.8425 MB / 2.987 GB, free: 11.94 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/6.667, allocations: 343 kB / 2.987 GB, free: 11.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/6.667, allocations: 0 / 2.987 GB, free: 11.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/6.667, allocations: 353.9 kB / 2.988 GB, free: 11.25 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/6.668, allocations: 0.5623 MB / 2.988 GB, free: 10.68 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009818/6.669, allocations: 1.294 MB / 2.99 GB, free: 9.031 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/6.67, allocations: 0.8619 MB / 2.99 GB, free: 8.172 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/6.67, allocations: 4 kB / 2.99 GB, free: 8.168 MB / 1.151 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005082/6.676, allocations: 2.492 MB / 2.993 GB, free: 5.652 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001296/6.677, allocations: 5.91 MB / 2.999 GB, free: 15.15 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/6.677, allocations: 16 kB / 2.999 GB, free: 15.13 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/6.678, allocations: 441 kB / 2.999 GB, free: 14.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/6.68, allocations: 301.3 kB / 2.999 GB, free: 14.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/6.682, allocations: 2.066 MB / 3.001 GB, free: 12.29 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/6.685, allocations: 230.9 kB / 3.002 GB, free: 12.06 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/6.685, allocations: 83.95 kB / 3.002 GB, free: 11.98 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/6.685, allocations: 4 kB / 3.002 GB, free: 11.97 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004523/6.69, allocations: 2.071 MB / 3.004 GB, free: 9.875 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/6.69, allocations: 19.94 kB / 3.004 GB, free: 9.855 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009771/6.691, allocations: 413.3 kB / 3.004 GB, free: 9.445 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/6.692, allocations: 289.4 kB / 3.004 GB, free: 9.164 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007386/6.7, allocations: 5.384 MB / 3.01 GB, free: 3.547 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/6.703, allocations: 195.4 kB / 3.01 GB, free: 3.355 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/6.703, allocations: 83.89 kB / 3.01 GB, free: 3.273 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005466/6.703, allocations: 153 kB / 3.01 GB, free: 3.117 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007058/6.704, allocations: 280.4 kB / 3.01 GB, free: 2.84 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005848/6.71, allocations: 2.358 MB / 3.013 GB, free: 472 kB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/6.71, allocations: 16 kB / 3.013 GB, free: 456 kB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/6.71, allocations: 0 / 3.013 GB, free: 456 kB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5364/7.246, allocations: 1.908 MB / 3.014 GB, free: 349 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006684/7.253, allocations: 3.951 MB / 3.018 GB, free: 348.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/7.253, allocations: 0 / 3.018 GB, free: 348.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009744/7.254, allocations: 182.7 kB / 3.019 GB, free: 348.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007322/7.255, allocations: 396.7 kB / 3.019 GB, free: 348.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/7.255, allocations: 19.55 kB / 3.019 GB, free: 348.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/7.256, allocations: 1.912 MB / 3.021 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/7.256, allocations: 0 / 3.021 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003993/7.26, allocations: 2.916 MB / 3.024 GB, free: 347.3 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005371/7.266, allocations: 4.187 MB / 3.028 GB, free: 346.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/7.267, allocations: 0.498 MB / 3.028 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/7.268, allocations: 3.062 kB / 3.028 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/7.269, allocations: 137.2 kB / 3.028 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/7.269, allocations: 75.23 kB / 3.028 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/7.269, allocations: 47.11 kB / 3.028 GB, free: 346.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.002539/7.272, allocations: 1.715 MB / 3.03 GB, free: 346.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006184/7.278, allocations: 1.643 MB / 3.032 GB, free: 346.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001913/7.28, allocations: 1.032 MB / 3.033 GB, free: 346 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00406/7.284, allocations: 2.737 MB / 3.035 GB, free: 345.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/7.284, allocations: 0 / 3.035 GB, free: 345.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009324/7.285, allocations: 0.6945 MB / 3.036 GB, free: 345.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00457/7.29, allocations: 1.007 MB / 3.037 GB, free: 345.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008383/7.298, allocations: 4.079 MB / 3.041 GB, free: 344.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002441/7.3, allocations: 2.351 MB / 3.043 GB, free: 344 MB / 1.167 GB Notification: Performance of SimCode: time 1.152e-06/7.3, allocations: 0 / 3.043 GB, free: 344 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)