Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.085/2.085, allocations: 248.6 MB / 255.9 MB, free: 7.184 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.00173/0.001729, allocations: 181.2 kB / 315.1 MB, free: 4.289 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.925/1.925, allocations: 205.1 MB / 0.5658 GB, free: 384 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.001353/0.001353, allocations: 91.27 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4936/0.495, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.724, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.698/6.422, allocations: 2.192 GB / 3.076 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/6.422, allocations: 85.83 kB / 3.076 GB, free: 176.2 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 2.062/8.485, allocations: 451.3 MB / 3.517 GB, free: 72.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/8.485, allocations: 8 kB / 3.517 GB, free: 72.61 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/8.488, allocations: 342.1 kB / 3.517 GB, free: 72.27 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/8.491, allocations: 0.8674 MB / 3.518 GB, free: 71.36 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/8.491, allocations: 31.91 kB / 3.518 GB, free: 71.33 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/8.492, allocations: 55.98 kB / 3.518 GB, free: 71.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002352/8.494, allocations: 0.7302 MB / 3.519 GB, free: 70.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/8.496, allocations: 0.8616 MB / 3.519 GB, free: 69.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/8.496, allocations: 0 / 3.519 GB, free: 69.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/8.496, allocations: 4 kB / 3.519 GB, free: 69.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/8.497, allocations: 34 kB / 3.52 GB, free: 69.62 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008312/8.505, allocations: 3.33 MB / 3.523 GB, free: 66.09 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/8.506, allocations: 450.8 kB / 3.523 GB, free: 65.64 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/8.507, allocations: 254.1 kB / 3.523 GB, free: 65.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/8.507, allocations: 101.5 kB / 3.524 GB, free: 65.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/8.507, allocations: 47 kB / 3.524 GB, free: 65.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 3.426e-06/8.507, allocations: 0 / 3.524 GB, free: 65.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.004395/8.511, allocations: 1.322 MB / 3.525 GB, free: 63.83 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/8.511, allocations: 67.77 kB / 3.525 GB, free: 63.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/8.513, allocations: 0.5349 MB / 3.525 GB, free: 63.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002031/8.513, allocations: 29.7 kB / 3.525 GB, free: 63.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/8.513, allocations: 398.8 kB / 3.526 GB, free: 62.78 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/8.513, allocations: 165.6 kB / 3.526 GB, free: 62.62 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/8.513, allocations: 0 / 3.526 GB, free: 62.62 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000129/8.514, allocations: 378.7 kB / 3.526 GB, free: 62.24 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/8.514, allocations: 205.2 kB / 3.527 GB, free: 62.04 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/8.515, allocations: 356 kB / 3.527 GB, free: 61.63 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.00458/8.519, allocations: 0.8689 MB / 3.528 GB, free: 60.74 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/8.519, allocations: 7.938 kB / 3.528 GB, free: 60.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001928/8.521, allocations: 0.6734 MB / 3.528 GB, free: 60.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/8.521, allocations: 7.906 kB / 3.528 GB, free: 60.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/8.521, allocations: 8 kB / 3.528 GB, free: 60.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/8.522, allocations: 57.69 kB / 3.529 GB, free: 59.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/8.523, allocations: 139.8 kB / 3.529 GB, free: 59.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/8.526, allocations: 2.633 MB / 3.531 GB, free: 56.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/8.528, allocations: 55.84 kB / 3.531 GB, free: 56.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/8.528, allocations: 27.98 kB / 3.531 GB, free: 56.89 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: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000373/8.528, allocations: 120.8 kB / 3.531 GB, free: 56.76 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/8.529, allocations: 83.06 kB / 3.531 GB, free: 56.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/8.529, allocations: 87.2 kB / 3.532 GB, free: 56.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/8.529, allocations: 4 kB / 3.532 GB, free: 56.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/8.529, allocations: 0 / 3.532 GB, free: 56.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001245/8.53, allocations: 0.7675 MB / 3.532 GB, free: 55.73 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004147/8.534, allocations: 1.578 MB / 3.534 GB, free: 54.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/8.534, allocations: 4 kB / 3.534 GB, free: 54.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/8.536, allocations: 115.8 kB / 3.534 GB, free: 53.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/8.536, allocations: 37.25 kB / 3.534 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/8.536, allocations: 11.98 kB / 3.534 GB, free: 53.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/8.537, allocations: 1.346 MB / 3.535 GB, free: 52.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/8.537, allocations: 12 kB / 3.535 GB, free: 52.43 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002498/8.54, allocations: 1.105 MB / 3.536 GB, free: 51.18 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00288/8.543, allocations: 1.838 MB / 3.538 GB, free: 49.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008314/8.544, allocations: 232.1 kB / 3.538 GB, free: 48.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/8.544, allocations: 11.98 kB / 3.538 GB, free: 48.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/8.545, allocations: 55.86 kB / 3.539 GB, free: 48.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/8.546, allocations: 35.95 kB / 3.539 GB, free: 48.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-05/8.546, allocations: 31.98 kB / 3.539 GB, free: 48.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007784/8.547, allocations: 423.1 kB / 3.539 GB, free: 48.41 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003117/8.55, allocations: 500 kB / 3.539 GB, free: 47.93 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 (47): * Single equations (assignments): 46 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002231/8.552, allocations: 1.441 MB / 3.541 GB, free: 46.44 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001549/8.553, allocations: 0.6924 MB / 3.542 GB, free: 45.73 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/8.553, allocations: 4 kB / 3.542 GB, free: 45.73 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006203/8.554, allocations: 337.4 kB / 3.542 GB, free: 45.39 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/8.558, allocations: 432.8 kB / 3.542 GB, free: 44.97 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/8.562, allocations: 1.363 MB / 3.544 GB, free: 43.54 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/8.563, allocations: 1.197 MB / 3.545 GB, free: 42.32 MB / 0.8698 GB Notification: Performance of SimCode: time 1.283e-06/8.563, allocations: 0 / 3.545 GB, free: 42.32 MB / 0.8698 GB