Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7157/0.7157, allocations: 141.8 MB / 149.1 MB, free: 13.88 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 179.3 kB / 182 MB, free: 10.48 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 221.3 MB / 436 MB, free: 3.086 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008635/0.0008635, allocations: 95.59 kB / 0.507 GB, free: 18.16 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001836/0.001836, allocations: 272.2 kB / 0.5885 GB, free: 4.5 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3853/0.3872, allocations: 89.64 MB / 0.676 GB, free: 137.3 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.528, allocations: 82.77 MB / 0.7568 GB, free: 84.39 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.284/3.812, allocations: 1.879 GB / 2.635 GB, free: 111.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/3.813, allocations: 87.94 kB / 2.635 GB, free: 111.8 MB / 0.6982 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.492/5.304, allocations: 463 MB / 3.088 GB, free: 150.9 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/5.304, allocations: 10.47 kB / 3.088 GB, free: 150.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/5.307, allocations: 335.7 kB / 3.088 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/5.309, allocations: 0.8367 MB / 3.089 GB, free: 150.6 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/5.309, allocations: 29.66 kB / 3.089 GB, free: 150.6 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/5.31, allocations: 54.25 kB / 3.089 GB, free: 150.6 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001682/5.311, allocations: 0.7323 MB / 3.09 GB, free: 150.6 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/5.313, allocations: 0.8325 MB / 3.09 GB, free: 150.5 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/5.313, allocations: 0 / 3.09 GB, free: 150.5 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.63e-05/5.313, allocations: 1.156 kB / 3.09 GB, free: 150.5 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/5.313, allocations: 34.72 kB / 3.09 GB, free: 150.5 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005698/5.319, allocations: 3.306 MB / 3.094 GB, free: 149.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/5.32, allocations: 450.4 kB / 3.094 GB, free: 149.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/5.32, allocations: 253.4 kB / 3.094 GB, free: 149.3 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/5.32, allocations: 109.6 kB / 3.094 GB, free: 149.2 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/5.32, allocations: 44.91 kB / 3.094 GB, free: 149.1 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=47): time 2.786e-06/5.32, allocations: 3.875 kB / 3.094 GB, free: 149.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=49): time 0.003413/5.324, allocations: 1.345 MB / 3.096 GB, free: 148.7 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/5.324, allocations: 58.19 kB / 3.096 GB, free: 148.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000776/5.325, allocations: 0.5185 MB / 3.096 GB, free: 148.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/5.325, allocations: 27.05 kB / 3.096 GB, free: 148.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/5.325, allocations: 383.6 kB / 3.097 GB, free: 148.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/5.325, allocations: 165.7 kB / 3.097 GB, free: 148.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/5.325, allocations: 2 kB / 3.097 GB, free: 148.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001186/5.325, allocations: 382.3 kB / 3.097 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/5.325, allocations: 209.1 kB / 3.097 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/5.326, allocations: 342.1 kB / 3.098 GB, free: 147.7 MB / 0.6982 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.002713/5.329, allocations: 0.945 MB / 3.099 GB, free: 147.5 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/5.329, allocations: 2.844 kB / 3.099 GB, free: 147.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001111/5.33, allocations: 0.6981 MB / 3.099 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/5.33, allocations: 7.625 kB / 3.099 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/5.33, allocations: 1.406 kB / 3.099 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/5.33, allocations: 95.36 kB / 3.099 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/5.331, allocations: 136.4 kB / 3.1 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/5.333, allocations: 2.781 MB / 3.102 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009497/5.334, allocations: 49.05 kB / 3.102 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/5.334, allocations: 30.45 kB / 3.102 GB, free: 145 MB / 0.6982 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.0001492/5.334, allocations: 122.1 kB / 3.102 GB, free: 144.9 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/5.334, allocations: 76.42 kB / 3.103 GB, free: 144.9 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/5.334, allocations: 87.81 kB / 3.103 GB, free: 144.9 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/5.334, allocations: 7.281 kB / 3.103 GB, free: 144.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/5.334, allocations: 0 / 3.103 GB, free: 144.9 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007799/5.335, allocations: 0.7832 MB / 3.103 GB, free: 144.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/5.337, allocations: 1.594 MB / 3.105 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/5.337, allocations: 7.531 kB / 3.105 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/5.338, allocations: 111.7 kB / 3.105 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/5.338, allocations: 69.58 kB / 3.105 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/5.338, allocations: 7.719 kB / 3.105 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/5.339, allocations: 1.501 MB / 3.107 GB, free: 142.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/5.339, allocations: 10.41 kB / 3.107 GB, free: 142.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001243/5.341, allocations: 1.139 MB / 3.108 GB, free: 142.3 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001804/5.342, allocations: 1.859 MB / 3.11 GB, free: 141.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/5.343, allocations: 218 kB / 3.11 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/5.343, allocations: 7.031 kB / 3.11 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/5.344, allocations: 51.09 kB / 3.11 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/5.344, allocations: 35.64 kB / 3.11 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/5.344, allocations: 27 kB / 3.11 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005013/5.344, allocations: 407 kB / 3.11 GB, free: 141.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.00237/5.347, allocations: 0.5006 MB / 3.111 GB, free: 141.2 MB / 0.6982 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.001828/5.349, allocations: 1.442 MB / 3.112 GB, free: 140.8 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0008975/5.35, allocations: 0.6923 MB / 3.113 GB, free: 140.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/5.35, allocations: 3.125 kB / 3.113 GB, free: 140.6 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003484/5.35, allocations: 348.1 kB / 3.113 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/5.352, allocations: 448.7 kB / 3.114 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/5.354, allocations: 1.317 MB / 3.115 GB, free: 140.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007137/5.355, allocations: 1.172 MB / 3.116 GB, free: 139.3 MB / 0.6982 GB Notification: Performance of SimCode: time 3.4e-07/5.355, allocations: 0 / 3.116 GB, free: 139.3 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)