Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 180.2 kB / 7.802 MB, free: 1.203 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4596/0.4596, allocations: 90.85 MB / 99.07 MB, free: 8.973 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.4 MB / 342.8 MB, free: 4.664 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 92.61 kB / 415.5 MB, free: 14.24 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1997/0.2009, allocations: 78.45 MB / 493.9 MB, free: 7.527 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.6511, allocations: 72.32 MB / 0.553 GB, free: 61.68 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.416/4.067, allocations: 1.872 GB / 2.425 GB, free: 37.61 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/4.067, allocations: 84.98 kB / 2.425 GB, free: 37.53 MB / 0.6121 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 1.53/5.597, allocations: 466.6 MB / 2.881 GB, free: 73.1 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/5.597, allocations: 8 kB / 2.881 GB, free: 73.09 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/5.6, allocations: 330.3 kB / 2.881 GB, free: 72.77 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/5.603, allocations: 0.8546 MB / 2.882 GB, free: 71.89 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/5.603, allocations: 31.91 kB / 2.882 GB, free: 71.86 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/5.603, allocations: 51.98 kB / 2.882 GB, free: 71.8 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001613/5.605, allocations: 0.7341 MB / 2.883 GB, free: 71.07 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/5.606, allocations: 0.8338 MB / 2.883 GB, free: 70.22 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/5.606, allocations: 0 / 2.883 GB, free: 70.22 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/5.607, allocations: 8 kB / 2.883 GB, free: 70.21 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/5.607, allocations: 30 kB / 2.883 GB, free: 70.18 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0059/5.612, allocations: 3.396 MB / 2.887 GB, free: 66.62 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/5.613, allocations: 452.1 kB / 2.887 GB, free: 66.17 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/5.614, allocations: 266.9 kB / 2.887 GB, free: 65.91 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/5.614, allocations: 97.53 kB / 2.887 GB, free: 65.8 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/5.614, allocations: 54.94 kB / 2.888 GB, free: 65.73 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=47): time 3.447e-06/5.614, allocations: 4 kB / 2.888 GB, free: 65.73 MB / 0.6121 GB Notification: Performance of matching and sorting (n=49): time 0.003571/5.617, allocations: 1.35 MB / 2.889 GB, free: 64.32 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/5.618, allocations: 55.84 kB / 2.889 GB, free: 64.25 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/5.618, allocations: 0.5192 MB / 2.889 GB, free: 63.73 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 7.59e-05/5.618, allocations: 41.62 kB / 2.889 GB, free: 63.68 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/5.618, allocations: 382.8 kB / 2.89 GB, free: 63.3 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/5.619, allocations: 157.6 kB / 2.89 GB, free: 63.14 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/5.619, allocations: 0 / 2.89 GB, free: 63.14 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001047/5.619, allocations: 390.7 kB / 2.89 GB, free: 62.75 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/5.619, allocations: 209.2 kB / 2.891 GB, free: 62.55 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/5.619, allocations: 325.7 kB / 2.891 GB, free: 62.19 MB / 0.6121 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.002756/5.622, allocations: 0.957 MB / 2.892 GB, free: 61.22 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/5.622, allocations: 0 / 2.892 GB, free: 61.22 MB / 0.6121 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001145/5.623, allocations: 0.7044 MB / 2.892 GB, free: 60.5 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/5.623, allocations: 4 kB / 2.892 GB, free: 60.5 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/5.623, allocations: 4 kB / 2.892 GB, free: 60.49 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/5.624, allocations: 89.59 kB / 2.893 GB, free: 60.4 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/5.624, allocations: 135.8 kB / 2.893 GB, free: 60.27 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/5.626, allocations: 2.777 MB / 2.895 GB, free: 57.26 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/5.627, allocations: 47.88 kB / 2.895 GB, free: 57.21 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/5.628, allocations: 24.05 kB / 2.895 GB, free: 57.19 MB / 0.6121 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: 12 * 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.000184/5.628, allocations: 116.9 kB / 2.896 GB, free: 57.07 MB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/5.628, allocations: 79.06 kB / 2.896 GB, free: 56.99 MB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/5.628, allocations: 87.12 kB / 2.896 GB, free: 56.9 MB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/5.628, allocations: 8 kB / 2.896 GB, free: 56.89 MB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/5.628, allocations: 11.83 kB / 2.896 GB, free: 56.88 MB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008463/5.629, allocations: 0.791 MB / 2.897 GB, free: 56 MB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/5.632, allocations: 1.589 MB / 2.898 GB, free: 54.32 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/5.632, allocations: 4 kB / 2.898 GB, free: 54.32 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/5.632, allocations: 111.8 kB / 2.898 GB, free: 54.21 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/5.633, allocations: 69.22 kB / 2.898 GB, free: 54.14 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/5.633, allocations: 8 kB / 2.898 GB, free: 54.13 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/5.634, allocations: 1.502 MB / 2.9 GB, free: 52.52 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/5.634, allocations: 7.938 kB / 2.9 GB, free: 52.51 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001298/5.635, allocations: 1.115 MB / 2.901 GB, free: 51.25 MB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001845/5.637, allocations: 1.85 MB / 2.903 GB, free: 49.27 MB / 0.6121 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/5.638, allocations: 212.1 kB / 2.903 GB, free: 49.04 MB / 0.6121 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/5.638, allocations: 8 kB / 2.903 GB, free: 49.03 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009178/5.639, allocations: 55.86 kB / 2.903 GB, free: 48.98 MB / 0.6121 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/5.639, allocations: 31.95 kB / 2.903 GB, free: 48.95 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.96e-05/5.639, allocations: 27.98 kB / 2.903 GB, free: 48.92 MB / 0.6121 GB Notification: Performance of sort global known variables: time 0.0005306/5.639, allocations: 411.1 kB / 2.903 GB, free: 48.52 MB / 0.6121 GB Notification: Performance of remove unused functions: time 0.002687/5.642, allocations: 0.4961 MB / 2.904 GB, free: 48.03 MB / 0.6121 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.002077/5.644, allocations: 1.446 MB / 2.905 GB, free: 46.54 MB / 0.6121 GB Notification: Performance of simCode: created initialization part: time 0.001024/5.645, allocations: 0.6954 MB / 2.906 GB, free: 45.83 MB / 0.6121 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/5.645, allocations: 8.625 kB / 2.906 GB, free: 45.82 MB / 0.6121 GB Notification: Performance of simCode: created simulation system equations: time 0.0004196/5.646, allocations: 345.5 kB / 2.906 GB, free: 45.48 MB / 0.6121 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/5.648, allocations: 438.4 kB / 2.907 GB, free: 45.05 MB / 0.6121 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/5.651, allocations: 1.328 MB / 2.908 GB, free: 43.66 MB / 0.6121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008033/5.652, allocations: 1.184 MB / 2.909 GB, free: 42.45 MB / 0.6121 GB Notification: Performance of SimCode: time 5.11e-07/5.652, allocations: 0 / 2.909 GB, free: 42.45 MB / 0.6121 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)