Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.543/1.543, allocations: 289.8 MB / 297.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 185.3 kB / 366.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.1 MB / 0.6256 GB, free: 5.898 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 82.42 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2954/0.2964, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/1.049, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.149/6.198, allocations: 2.074 GB / 3.047 GB, free: 356.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/6.198, allocations: 84.78 kB / 3.047 GB, free: 356.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 1.586/7.785, allocations: 458.5 MB / 3.495 GB, free: 238 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/7.785, allocations: 11.69 kB / 3.495 GB, free: 238 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/7.787, allocations: 332.5 kB / 3.495 GB, free: 237.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/7.79, allocations: 0.8539 MB / 3.496 GB, free: 237.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/7.79, allocations: 26.75 kB / 3.496 GB, free: 237.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/7.79, allocations: 48.06 kB / 3.496 GB, free: 237.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001375/7.791, allocations: 0.7334 MB / 3.497 GB, free: 237.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/7.793, allocations: 0.8314 MB / 3.497 GB, free: 237.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/7.793, allocations: 3.906 kB / 3.497 GB, free: 237.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.432e-05/7.793, allocations: 1.594 kB / 3.497 GB, free: 237.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.693e-05/7.794, allocations: 40.94 kB / 3.497 GB, free: 237.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005805/7.799, allocations: 3.301 MB / 3.501 GB, free: 236.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/7.8, allocations: 458 kB / 3.501 GB, free: 236.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/7.8, allocations: 260.7 kB / 3.501 GB, free: 236.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/7.801, allocations: 101.9 kB / 3.501 GB, free: 236.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/7.801, allocations: 43.09 kB / 3.501 GB, free: 236.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.737e-06/7.801, allocations: 3.969 kB / 3.501 GB, free: 236.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.003728/7.804, allocations: 1.336 MB / 3.503 GB, free: 235.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/7.805, allocations: 61.06 kB / 3.503 GB, free: 235.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/7.805, allocations: 0.5158 MB / 3.503 GB, free: 235.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/7.805, allocations: 29.52 kB / 3.503 GB, free: 235.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/7.806, allocations: 386.2 kB / 3.504 GB, free: 235.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/7.806, allocations: 166.5 kB / 3.504 GB, free: 235.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/7.806, allocations: 0 / 3.504 GB, free: 235.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001126/7.806, allocations: 379 kB / 3.504 GB, free: 235 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/7.806, allocations: 211.7 kB / 3.504 GB, free: 235 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/7.807, allocations: 356.1 kB / 3.505 GB, free: 234.8 MB / 0.948 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.002668/7.809, allocations: 0.927 MB / 3.506 GB, free: 234.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/7.809, allocations: 0 / 3.506 GB, free: 234.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00105/7.81, allocations: 0.6882 MB / 3.506 GB, free: 234.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/7.81, allocations: 7.562 kB / 3.506 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/7.81, allocations: 3.906 kB / 3.506 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/7.811, allocations: 60.55 kB / 3.506 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/7.811, allocations: 140.5 kB / 3.507 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/7.813, allocations: 2.63 MB / 3.509 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/7.814, allocations: 47.52 kB / 3.509 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/7.814, allocations: 21.25 kB / 3.509 GB, free: 232.2 MB / 0.948 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: 14 * 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): 69 * 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.000201/7.814, allocations: 126.9 kB / 3.509 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/7.814, allocations: 75.75 kB / 3.509 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/7.815, allocations: 82.42 kB / 3.509 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/7.815, allocations: 7.469 kB / 3.509 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/7.815, allocations: 3.906 kB / 3.51 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007643/7.815, allocations: 0.7727 MB / 3.51 GB, free: 231.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/7.818, allocations: 1.559 MB / 3.512 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/7.818, allocations: 3.281 kB / 3.512 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/7.819, allocations: 124.2 kB / 3.512 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/7.819, allocations: 36.11 kB / 3.512 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/7.819, allocations: 10.88 kB / 3.512 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008758/7.82, allocations: 1.352 MB / 3.513 GB, free: 230 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/7.82, allocations: 3.312 kB / 3.513 GB, free: 230 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001326/7.821, allocations: 1.122 MB / 3.514 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002114/7.823, allocations: 1.843 MB / 3.516 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/7.824, allocations: 215.5 kB / 3.516 GB, free: 228.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/7.824, allocations: 7.594 kB / 3.516 GB, free: 228.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008722/7.825, allocations: 55.23 kB / 3.516 GB, free: 228.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/7.825, allocations: 39.58 kB / 3.516 GB, free: 228.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/7.825, allocations: 30.23 kB / 3.516 GB, free: 228.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006279/7.826, allocations: 405.2 kB / 3.517 GB, free: 228.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002862/7.828, allocations: 496.4 kB / 3.517 GB, free: 228.4 MB / 0.948 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 (47): * Single equations (assignments): 46 * 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.002451/7.831, allocations: 1.436 MB / 3.519 GB, free: 228 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001243/7.832, allocations: 0.7017 MB / 3.519 GB, free: 227.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/7.832, allocations: 3.844 kB / 3.519 GB, free: 227.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003988/7.833, allocations: 348.6 kB / 3.52 GB, free: 227.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/7.835, allocations: 428.3 kB / 3.52 GB, free: 227.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/7.838, allocations: 1.333 MB / 3.521 GB, free: 227.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/7.839, allocations: 1.176 MB / 3.523 GB, free: 226.6 MB / 0.948 GB Notification: Performance of SimCode: time 8.61e-07/7.839, allocations: 0 / 3.523 GB, free: 226.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)