Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.739/0.739, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 177.3 kB / 164.4 MB, free: 6.914 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.1 MB / 399.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009785/0.0009783, allocations: 83.33 kB / 476.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3689/0.37, allocations: 82.89 MB / 0.5461 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.5715, allocations: 76.75 MB / 0.621 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.553/6.125, allocations: 2.149 GB / 2.77 GB, free: 63.53 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/6.125, allocations: 83.95 kB / 2.77 GB, free: 63.45 MB / 0.6355 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 1.708/7.833, allocations: 459.5 MB / 3.219 GB, free: 95.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/7.833, allocations: 12 kB / 3.219 GB, free: 95.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/7.835, allocations: 334.2 kB / 3.219 GB, free: 95.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/7.838, allocations: 0.901 MB / 3.22 GB, free: 94.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/7.838, allocations: 24 kB / 3.22 GB, free: 94.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/7.838, allocations: 56 kB / 3.22 GB, free: 94.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00166/7.84, allocations: 0.7301 MB / 3.221 GB, free: 93.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/7.842, allocations: 0.8665 MB / 3.222 GB, free: 92.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/7.842, allocations: 0 / 3.222 GB, free: 92.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/7.842, allocations: 3.906 kB / 3.222 GB, free: 92.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/7.842, allocations: 33.98 kB / 3.222 GB, free: 92.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005748/7.848, allocations: 3.313 MB / 3.225 GB, free: 89.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/7.848, allocations: 461.2 kB / 3.225 GB, free: 89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/7.849, allocations: 257.5 kB / 3.226 GB, free: 88.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/7.849, allocations: 181.8 kB / 3.226 GB, free: 88.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/7.849, allocations: 42.94 kB / 3.226 GB, free: 88.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 2.946e-06/7.849, allocations: 0 / 3.226 GB, free: 88.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.003546/7.853, allocations: 1.333 MB / 3.227 GB, free: 87.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/7.853, allocations: 55.84 kB / 3.227 GB, free: 87.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/7.853, allocations: 0.5271 MB / 3.228 GB, free: 86.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.231e-05/7.853, allocations: 29.7 kB / 3.228 GB, free: 86.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/7.854, allocations: 390.8 kB / 3.228 GB, free: 86.08 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/7.854, allocations: 161.6 kB / 3.228 GB, free: 85.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/7.854, allocations: 0 / 3.228 GB, free: 85.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001309/7.854, allocations: 378.7 kB / 3.229 GB, free: 85.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/7.854, allocations: 197.2 kB / 3.229 GB, free: 85.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/7.855, allocations: 328.3 kB / 3.229 GB, free: 84.97 MB / 0.6355 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.002393/7.857, allocations: 0.8767 MB / 3.23 GB, free: 84.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/7.857, allocations: 4 kB / 3.23 GB, free: 84.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001213/7.858, allocations: 0.6732 MB / 3.231 GB, free: 83.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/7.858, allocations: 12 kB / 3.231 GB, free: 83.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/7.858, allocations: 0 / 3.231 GB, free: 83.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/7.859, allocations: 89.66 kB / 3.231 GB, free: 83.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/7.859, allocations: 135.8 kB / 3.231 GB, free: 83.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/7.862, allocations: 2.777 MB / 3.234 GB, free: 80.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/7.863, allocations: 55.88 kB / 3.234 GB, free: 80.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.036e-05/7.863, allocations: 24.05 kB / 3.234 GB, free: 80.07 MB / 0.6355 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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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.0003185/7.863, allocations: 116.8 kB / 3.234 GB, free: 79.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/7.864, allocations: 79.06 kB / 3.234 GB, free: 79.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/7.864, allocations: 83.14 kB / 3.234 GB, free: 79.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/7.864, allocations: 4 kB / 3.234 GB, free: 79.78 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/7.864, allocations: 4 kB / 3.234 GB, free: 79.78 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008827/7.865, allocations: 0.783 MB / 3.235 GB, free: 78.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/7.868, allocations: 1.561 MB / 3.236 GB, free: 77.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/7.868, allocations: 7.922 kB / 3.236 GB, free: 77.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/7.869, allocations: 115.8 kB / 3.236 GB, free: 77.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/7.869, allocations: 60.92 kB / 3.236 GB, free: 77.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/7.869, allocations: 15.98 kB / 3.236 GB, free: 77.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/7.871, allocations: 1.506 MB / 3.238 GB, free: 75.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/7.871, allocations: 7.984 kB / 3.238 GB, free: 75.45 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001706/7.872, allocations: 1.099 MB / 3.239 GB, free: 74.21 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002332/7.875, allocations: 1.813 MB / 3.241 GB, free: 72.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005826/7.875, allocations: 232.1 kB / 3.241 GB, free: 72.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/7.876, allocations: 4 kB / 3.241 GB, free: 72.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/7.877, allocations: 55.91 kB / 3.241 GB, free: 71.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/7.877, allocations: 31.83 kB / 3.241 GB, free: 71.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/7.877, allocations: 31.97 kB / 3.241 GB, free: 71.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0007125/7.878, allocations: 411.1 kB / 3.242 GB, free: 71.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00349/7.881, allocations: 0.5037 MB / 3.242 GB, free: 71.01 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (44): * Single equations (assignments): 43 * 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.002592/7.884, allocations: 1.452 MB / 3.243 GB, free: 69.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001426/7.885, allocations: 0.676 MB / 3.244 GB, free: 68.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/7.885, allocations: 4 kB / 3.244 GB, free: 68.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000498/7.886, allocations: 339 kB / 3.244 GB, free: 68.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/7.889, allocations: 434.5 kB / 3.245 GB, free: 68.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/7.893, allocations: 1.357 MB / 3.246 GB, free: 66.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000972/7.894, allocations: 1.182 MB / 3.247 GB, free: 65.57 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/7.894, allocations: 0 / 3.247 GB, free: 65.57 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)