Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.396/2.396, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.001591/0.00159, allocations: 195.8 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.858/1.858, allocations: 205.1 MB / 0.5658 GB, free: 388 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.002081/0.002081, allocations: 97.5 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5406/0.5427, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.7858, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.783/6.569, allocations: 2.193 GB / 3.076 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/6.569, allocations: 90.62 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 2.739/9.309, allocations: 0.5515 GB / 3.628 GB, free: 197 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/9.309, allocations: 11.66 kB / 3.628 GB, free: 197 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/9.312, allocations: 332.6 kB / 3.628 GB, free: 197 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/9.315, allocations: 0.8156 MB / 3.629 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006748/9.316, allocations: 108.2 kB / 3.629 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/9.316, allocations: 54.91 kB / 3.629 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002331/9.318, allocations: 0.7007 MB / 3.63 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/9.321, allocations: 0.9019 MB / 3.631 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/9.321, allocations: 6.062 kB / 3.631 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/9.322, allocations: 3.906 kB / 3.631 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/9.322, allocations: 34.53 kB / 3.631 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009167/9.331, allocations: 3.869 MB / 3.634 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/9.332, allocations: 362.5 kB / 3.635 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/9.332, allocations: 194.7 kB / 3.635 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/9.333, allocations: 100.6 kB / 3.635 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/9.333, allocations: 43.97 kB / 3.635 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 4.067e-06/9.333, allocations: 0 / 3.635 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.003997/9.337, allocations: 1.106 MB / 3.636 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/9.337, allocations: 58.59 kB / 3.636 GB, free: 194 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/9.338, allocations: 0.5727 MB / 3.637 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001907/9.338, allocations: 29.23 kB / 3.637 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/9.339, allocations: 415.9 kB / 3.637 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/9.339, allocations: 133 kB / 3.637 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/9.339, allocations: 2.188 kB / 3.637 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001394/9.339, allocations: 383.4 kB / 3.638 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/9.34, allocations: 189.1 kB / 3.638 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/9.34, allocations: 389.7 kB / 3.638 GB, free: 193.1 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.003622/9.344, allocations: 0.6833 MB / 3.639 GB, free: 193 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-05/9.344, allocations: 0 / 3.639 GB, free: 193 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002032/9.346, allocations: 0.6228 MB / 3.64 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/9.346, allocations: 3.594 kB / 3.64 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/9.346, allocations: 7.719 kB / 3.64 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.532e-05/9.346, allocations: 10 kB / 3.64 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/9.347, allocations: 152 kB / 3.64 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/9.347, allocations: 10.38 kB / 3.64 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/9.349, allocations: 92.09 kB / 3.64 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/9.349, allocations: 23 kB / 3.64 GB, free: 192.9 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: 24 * 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): 71 * 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 prepare postOptimizeDAE: time 0.0002743/9.35, allocations: 134.6 kB / 3.64 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/9.35, allocations: 74.38 kB / 3.64 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/9.35, allocations: 78.53 kB / 3.64 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/9.35, allocations: 3.688 kB / 3.64 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/9.35, allocations: 3.938 kB / 3.64 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008953/9.351, allocations: 0.6564 MB / 3.641 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/9.355, allocations: 1.438 MB / 3.642 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/9.355, allocations: 7.469 kB / 3.642 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/9.356, allocations: 87.91 kB / 3.642 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/9.356, allocations: 7.594 kB / 3.642 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/9.356, allocations: 7.281 kB / 3.642 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/9.356, allocations: 11.59 kB / 3.642 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/9.356, allocations: 3.688 kB / 3.642 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001653/9.358, allocations: 0.9992 MB / 3.643 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002279/9.36, allocations: 1.642 MB / 3.645 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007019/9.361, allocations: 224.5 kB / 3.645 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/9.361, allocations: 9.406 kB / 3.645 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/9.362, allocations: 54.48 kB / 3.645 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/9.362, allocations: 28.66 kB / 3.645 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.785e-05/9.363, allocations: 32.14 kB / 3.645 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000838/9.363, allocations: 443.8 kB / 3.646 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003492/9.367, allocations: 482.7 kB / 3.646 GB, free: 190.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.002554/9.37, allocations: 1.495 MB / 3.648 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001657/9.371, allocations: 441.2 kB / 3.648 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/9.371, allocations: 0 / 3.648 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/9.372, allocations: 179.5 kB / 3.648 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/9.375, allocations: 402.6 kB / 3.648 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/9.38, allocations: 1.392 MB / 3.65 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/9.381, allocations: 1.2 MB / 3.651 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.654e-06/9.382, allocations: 3.281 kB / 3.651 GB, free: 188.6 MB / 0.8698 GB