Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7349/0.7349, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001294/0.001294, allocations: 177.3 kB / 164.4 MB, free: 6.895 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.899/1.899, allocations: 205.1 MB / 399.1 MB, free: 6.133 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.0009507/0.0009506, allocations: 87.14 kB / 476.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4055/0.4065, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.6015, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.562/6.163, allocations: 2.149 GB / 2.77 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/6.164, allocations: 93.8 kB / 2.771 GB, free: 140.6 MB / 0.6511 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.097/8.26, allocations: 460.7 MB / 3.22 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/8.26, allocations: 6.969 kB / 3.22 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/8.263, allocations: 329.2 kB / 3.221 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/8.266, allocations: 0.8911 MB / 3.222 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/8.267, allocations: 28.84 kB / 3.222 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/8.267, allocations: 56.53 kB / 3.222 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001946/8.269, allocations: 0.7407 MB / 3.222 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/8.271, allocations: 0.8677 MB / 3.223 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/8.271, allocations: 0 / 3.223 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/8.271, allocations: 2.469 kB / 3.223 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/8.271, allocations: 30.91 kB / 3.223 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007219/8.279, allocations: 3.312 MB / 3.227 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009536/8.28, allocations: 462.8 kB / 3.227 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/8.28, allocations: 252 kB / 3.227 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004123/8.281, allocations: 196.4 kB / 3.227 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/8.281, allocations: 40.31 kB / 3.227 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=46): time 6.392e-06/8.281, allocations: 0 / 3.227 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=48): time 0.004352/8.285, allocations: 1.308 MB / 3.229 GB, free: 107.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/8.285, allocations: 58.84 kB / 3.229 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/8.286, allocations: 0.5245 MB / 3.229 GB, free: 107.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/8.286, allocations: 25.7 kB / 3.229 GB, free: 107.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/8.287, allocations: 401 kB / 3.23 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/8.287, allocations: 163 kB / 3.23 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/8.287, allocations: 0 / 3.23 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000166/8.287, allocations: 388.9 kB / 3.23 GB, free: 107 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/8.288, allocations: 196.8 kB / 3.23 GB, free: 107 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/8.288, allocations: 344.5 kB / 3.231 GB, free: 106.8 MB / 0.6667 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.002478/8.29, allocations: 0.856 MB / 3.232 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/8.29, allocations: 3.406 kB / 3.232 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001229/8.292, allocations: 0.6628 MB / 3.232 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/8.292, allocations: 3.562 kB / 3.232 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/8.292, allocations: 2.562 kB / 3.232 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/8.292, allocations: 65.27 kB / 3.232 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/8.293, allocations: 142.5 kB / 3.232 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/8.295, allocations: 2.634 MB / 3.235 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/8.296, allocations: 57.31 kB / 3.235 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/8.296, allocations: 24.66 kB / 3.235 GB, free: 104.2 MB / 0.6667 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: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0003173/8.297, allocations: 118.4 kB / 3.235 GB, free: 104.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/8.297, allocations: 77.97 kB / 3.235 GB, free: 104.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/8.297, allocations: 84.66 kB / 3.235 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/8.297, allocations: 3.875 kB / 3.235 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/8.297, allocations: 0 / 3.235 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008679/8.298, allocations: 0.7552 MB / 3.236 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/8.301, allocations: 1.542 MB / 3.238 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/8.301, allocations: 0 / 3.238 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/8.302, allocations: 116.6 kB / 3.238 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/8.302, allocations: 36.67 kB / 3.238 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/8.302, allocations: 11.69 kB / 3.238 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009922/8.303, allocations: 1.347 MB / 3.239 GB, free: 102 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/8.303, allocations: 10.56 kB / 3.239 GB, free: 102 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001313/8.304, allocations: 1.079 MB / 3.24 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001786/8.306, allocations: 1.795 MB / 3.242 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/8.306, allocations: 238.9 kB / 3.242 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/8.307, allocations: 6.625 kB / 3.242 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/8.307, allocations: 54.58 kB / 3.242 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/8.308, allocations: 36.47 kB / 3.242 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/8.308, allocations: 33.66 kB / 3.242 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005265/8.308, allocations: 413.2 kB / 3.243 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002559/8.311, allocations: 0.4886 MB / 3.243 GB, free: 100.4 MB / 0.6667 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 (46): * Single equations (assignments): 45 * 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.002261/8.313, allocations: 1.45 MB / 3.244 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001263/8.314, allocations: 0.6764 MB / 3.245 GB, free: 99.88 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/8.314, allocations: 6.938 kB / 3.245 GB, free: 99.88 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004287/8.315, allocations: 343.5 kB / 3.245 GB, free: 99.78 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/8.317, allocations: 435.5 kB / 3.246 GB, free: 99.77 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/8.32, allocations: 1.359 MB / 3.247 GB, free: 99.32 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008791/8.321, allocations: 1.187 MB / 3.248 GB, free: 98.61 MB / 0.6667 GB Notification: Performance of SimCode: time 1.112e-06/8.321, allocations: 0 / 3.248 GB, free: 98.61 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)