Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.183/2.183, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001706/0.001706, allocations: 179.4 kB / 315.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001828/0.001827, allocations: 89.56 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5294/0.5313, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.7673, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.971/6.738, allocations: 2.192 GB / 3.076 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004809/6.739, allocations: 79.95 kB / 3.076 GB, free: 176.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 2.191/8.93, allocations: 449.9 MB / 3.515 GB, free: 65.75 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/8.93, allocations: 8 kB / 3.515 GB, free: 65.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005488/8.935, allocations: 342.2 kB / 3.515 GB, free: 65.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00413/8.939, allocations: 0.8712 MB / 3.516 GB, free: 64.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/8.939, allocations: 28 kB / 3.516 GB, free: 64.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/8.94, allocations: 52 kB / 3.516 GB, free: 64.42 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00345/8.943, allocations: 0.7301 MB / 3.517 GB, free: 63.69 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/8.947, allocations: 0.8539 MB / 3.518 GB, free: 62.82 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/8.947, allocations: 0 / 3.518 GB, free: 62.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/8.947, allocations: 0 / 3.518 GB, free: 62.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.177e-05/8.948, allocations: 45.92 kB / 3.518 GB, free: 62.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/8.961, allocations: 3.323 MB / 3.521 GB, free: 59.24 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/8.963, allocations: 453.7 kB / 3.521 GB, free: 58.79 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008693/8.964, allocations: 250.8 kB / 3.522 GB, free: 58.55 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/8.965, allocations: 105.5 kB / 3.522 GB, free: 58.42 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/8.965, allocations: 43 kB / 3.522 GB, free: 58.37 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 6.092e-06/8.965, allocations: 0 / 3.522 GB, free: 58.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.007939/8.973, allocations: 1.35 MB / 3.523 GB, free: 56.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/8.973, allocations: 55.84 kB / 3.523 GB, free: 56.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/8.974, allocations: 0.5387 MB / 3.524 GB, free: 56.35 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000271/8.975, allocations: 25.7 kB / 3.524 GB, free: 56.32 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/8.975, allocations: 398.8 kB / 3.524 GB, free: 55.92 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/8.975, allocations: 165.5 kB / 3.524 GB, free: 55.76 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/8.975, allocations: 0 / 3.524 GB, free: 55.76 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001791/8.976, allocations: 382.8 kB / 3.525 GB, free: 55.38 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007747/8.976, allocations: 205.2 kB / 3.525 GB, free: 55.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008918/8.977, allocations: 341.1 kB / 3.525 GB, free: 54.79 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.007163/8.985, allocations: 0.8916 MB / 3.526 GB, free: 53.88 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/8.985, allocations: 0 / 3.526 GB, free: 53.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002945/8.988, allocations: 0.6848 MB / 3.527 GB, free: 53.18 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/8.988, allocations: 4 kB / 3.527 GB, free: 53.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/8.988, allocations: 4 kB / 3.527 GB, free: 53.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007546/8.988, allocations: 101.8 kB / 3.527 GB, free: 53.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/8.99, allocations: 127.9 kB / 3.527 GB, free: 52.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/8.995, allocations: 2.77 MB / 3.53 GB, free: 49.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/8.998, allocations: 51.92 kB / 3.53 GB, free: 49.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/8.998, allocations: 31.91 kB / 3.53 GB, free: 49.86 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 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 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003658/8.998, allocations: 120.8 kB / 3.53 GB, free: 49.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/8.999, allocations: 79.06 kB / 3.53 GB, free: 49.66 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/8.999, allocations: 87.16 kB / 3.53 GB, free: 49.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/8.999, allocations: 8 kB / 3.53 GB, free: 49.56 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/8.999, allocations: 0 / 3.53 GB, free: 49.56 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002002/9.001, allocations: 0.7873 MB / 3.531 GB, free: 48.68 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/9.008, allocations: 1.6 MB / 3.532 GB, free: 47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/9.008, allocations: 7.938 kB / 3.532 GB, free: 46.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/9.009, allocations: 116.3 kB / 3.533 GB, free: 46.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005445/9.01, allocations: 64.81 kB / 3.533 GB, free: 46.81 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-05/9.01, allocations: 8 kB / 3.533 GB, free: 46.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003775/9.014, allocations: 1.51 MB / 3.534 GB, free: 45.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/9.014, allocations: 0 / 3.534 GB, free: 45.18 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002453/9.016, allocations: 1.133 MB / 3.535 GB, free: 43.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003203/9.02, allocations: 1.858 MB / 3.537 GB, free: 41.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00088/9.021, allocations: 232.1 kB / 3.537 GB, free: 41.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/9.021, allocations: 11.98 kB / 3.537 GB, free: 41.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/9.022, allocations: 59.86 kB / 3.537 GB, free: 41.59 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/9.023, allocations: 43.66 kB / 3.537 GB, free: 41.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-05/9.023, allocations: 31.98 kB / 3.537 GB, free: 41.51 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000756/9.023, allocations: 415.1 kB / 3.538 GB, free: 41.11 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003496/9.027, allocations: 0.5039 MB / 3.538 GB, free: 40.61 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002352/9.029, allocations: 1.433 MB / 3.54 GB, free: 39.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001848/9.031, allocations: 0.6838 MB / 3.54 GB, free: 38.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/9.031, allocations: 0 / 3.54 GB, free: 38.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007279/9.032, allocations: 347 kB / 3.541 GB, free: 38.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/9.036, allocations: 444.2 kB / 3.541 GB, free: 37.65 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/9.041, allocations: 1.351 MB / 3.542 GB, free: 36.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/9.042, allocations: 1.186 MB / 3.544 GB, free: 35.02 MB / 0.8698 GB Notification: Performance of SimCode: time 2.044e-06/9.042, allocations: 0 / 3.544 GB, free: 35.02 MB / 0.8698 GB