Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",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 7.0.1/package.mo): time 2.08/2.08, allocations: 248.6 MB / 255.9 MB, free: 7.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 187.6 kB / 315.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.1 MB / 0.5658 GB, free: 308 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001346/0.001345, allocations: 87.33 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5105/0.5119, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.7447, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.541/2.286, allocations: 449.1 MB / 1.322 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/2.287, allocations: 97.91 kB / 1.322 GB, free: 234.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 3.806/6.093, allocations: 0.8518 GB / 2.174 GB, free: 64.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/6.093, allocations: 8 kB / 2.174 GB, free: 64.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/6.097, allocations: 417.4 kB / 2.174 GB, free: 64.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03615/6.133, allocations: 9.473 MB / 2.184 GB, free: 54.72 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/6.133, allocations: 36 kB / 2.184 GB, free: 54.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003627/6.133, allocations: 67.91 kB / 2.184 GB, free: 54.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002988/6.136, allocations: 0.7734 MB / 2.184 GB, free: 53.84 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/6.139, allocations: 0.9893 MB / 2.185 GB, free: 52.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.329e-05/6.139, allocations: 4 kB / 2.185 GB, free: 52.76 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/6.139, allocations: 7.984 kB / 2.185 GB, free: 52.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/6.14, allocations: 27.98 kB / 2.185 GB, free: 52.73 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/6.152, allocations: 6.583 MB / 2.192 GB, free: 45.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/6.154, allocations: 475 kB / 2.192 GB, free: 45.22 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/6.155, allocations: 354.7 kB / 2.193 GB, free: 44.87 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/6.157, allocations: 1.785 MB / 2.194 GB, free: 42.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/6.159, allocations: 399 kB / 2.195 GB, free: 42.31 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=77): time 4.358e-06/6.159, allocations: 4 kB / 2.195 GB, free: 42.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77): time 0.004338/6.163, allocations: 0.9666 MB / 2.196 GB, free: 41.33 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/6.163, allocations: 89.75 kB / 2.196 GB, free: 41.22 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/6.165, allocations: 0.9517 MB / 2.197 GB, free: 40.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002512/6.166, allocations: 25.7 kB / 2.197 GB, free: 40.22 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/6.166, allocations: 480.8 kB / 2.197 GB, free: 39.74 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000498/6.167, allocations: 264.1 kB / 2.198 GB, free: 39.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/6.167, allocations: 0 / 2.198 GB, free: 39.48 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/6.167, allocations: 349.9 kB / 2.198 GB, free: 39.13 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009711/6.168, allocations: 277.9 kB / 2.198 GB, free: 38.86 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/6.169, allocations: 0.5258 MB / 2.199 GB, free: 38.23 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/6.172, allocations: 0.5428 MB / 2.199 GB, free: 37.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/6.172, allocations: 0 / 2.199 GB, free: 37.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005617/6.177, allocations: 1.137 MB / 2.2 GB, free: 36.53 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005107/6.178, allocations: 2.405 MB / 2.203 GB, free: 34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.752e-05/6.178, allocations: 8 kB / 2.203 GB, free: 33.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.853e-05/6.178, allocations: 12 kB / 2.203 GB, free: 33.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/6.18, allocations: 227.7 kB / 2.203 GB, free: 33.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/6.18, allocations: 15.94 kB / 2.203 GB, free: 33.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/6.182, allocations: 151.1 kB / 2.203 GB, free: 33.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/6.183, allocations: 43.98 kB / 2.203 GB, free: 33.55 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/6.183, allocations: 7.906 kB / 2.203 GB, free: 33.54 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004182/6.187, allocations: 0.969 MB / 2.204 GB, free: 32.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/6.187, allocations: 12.12 kB / 2.204 GB, free: 32.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/6.187, allocations: 12 kB / 2.204 GB, free: 32.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/6.189, allocations: 231.6 kB / 2.204 GB, free: 32.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/6.189, allocations: 8 kB / 2.204 GB, free: 32.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/6.191, allocations: 139.3 kB / 2.204 GB, free: 32.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/6.192, allocations: 39.98 kB / 2.204 GB, free: 32.14 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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 0.0003165/6.192, allocations: 145.6 kB / 2.205 GB, free: 31.99 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/6.192, allocations: 142.3 kB / 2.205 GB, free: 31.85 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005908/6.198, allocations: 1.558 MB / 2.206 GB, free: 30.29 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/6.198, allocations: 15.98 kB / 2.206 GB, free: 30.28 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/6.198, allocations: 0 / 2.206 GB, free: 30.28 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00383/6.202, allocations: 1.25 MB / 2.207 GB, free: 28.96 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008694/6.211, allocations: 2.545 MB / 2.21 GB, free: 26.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/6.211, allocations: 3.938 kB / 2.21 GB, free: 26.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/6.213, allocations: 183.9 kB / 2.21 GB, free: 26.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/6.213, allocations: 11.94 kB / 2.21 GB, free: 26.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/6.213, allocations: 19.89 kB / 2.21 GB, free: 26.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/6.213, allocations: 7.984 kB / 2.21 GB, free: 26.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/6.213, allocations: 4 kB / 2.21 GB, free: 26.16 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005514/6.219, allocations: 1.861 MB / 2.212 GB, free: 24.24 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007567/6.226, allocations: 2.88 MB / 2.215 GB, free: 21.31 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/6.228, allocations: 362.8 kB / 2.215 GB, free: 20.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005473/6.228, allocations: 4 kB / 2.215 GB, free: 20.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/6.23, allocations: 111.7 kB / 2.215 GB, free: 20.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/6.231, allocations: 56.69 kB / 2.215 GB, free: 20.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/6.231, allocations: 40.17 kB / 2.215 GB, free: 20.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001661/6.233, allocations: 0.718 MB / 2.216 GB, free: 20.01 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007498/6.24, allocations: 1.186 MB / 2.217 GB, free: 18.82 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,senEntOut.h_out,eneLosInt.y,senEntIn.h_out) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * 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.002976/6.243, allocations: 1.182 MB / 2.218 GB, free: 17.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003581/6.247, allocations: 1.434 MB / 2.22 GB, free: 16.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/6.247, allocations: 6.5 kB / 2.22 GB, free: 16.36 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/6.248, allocations: 0.5413 MB / 2.22 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005138/6.253, allocations: 0.515 MB / 2.221 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/6.265, allocations: 2.463 MB / 2.223 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/6.267, allocations: 1.465 MB / 2.225 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of SimCode: time 1.383e-06/6.267, allocations: 0 / 2.225 GB, free: 11.27 MB / 0.8698 GB