Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.527/2.527, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001644/0.001644, allocations: 181.2 kB / 360.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.268/2.268, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001323/0.001322, allocations: 87.94 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2851/0.2864, allocations: 121.4 MB / 0.8502 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6705/0.957, allocations: 115.2 MB / 0.9627 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.272/6.229, allocations: 2.073 GB / 3.036 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003788/6.229, allocations: 88.75 kB / 3.036 GB, free: 272.7 MB / 0.9323 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 2.172/8.401, allocations: 458.5 MB / 3.484 GB, free: 231.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/8.401, allocations: 13.62 kB / 3.484 GB, free: 231.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/8.406, allocations: 322.8 kB / 3.484 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004025/8.41, allocations: 0.8462 MB / 3.485 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/8.411, allocations: 29.56 kB / 3.485 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/8.411, allocations: 54.59 kB / 3.485 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003045/8.414, allocations: 0.7261 MB / 3.486 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/8.418, allocations: 0.8457 MB / 3.486 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.852e-05/8.418, allocations: 2.953 kB / 3.486 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/8.418, allocations: 1.281 kB / 3.486 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.512e-05/8.418, allocations: 34.19 kB / 3.486 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/8.43, allocations: 3.313 MB / 3.49 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/8.431, allocations: 450.1 kB / 3.49 GB, free: 228.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/8.432, allocations: 258.3 kB / 3.49 GB, free: 228.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/8.432, allocations: 103.5 kB / 3.49 GB, free: 228.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/8.432, allocations: 44.84 kB / 3.49 GB, free: 228.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.587e-06/8.432, allocations: 0 / 3.49 GB, free: 228.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.00526/8.438, allocations: 1.332 MB / 3.492 GB, free: 227.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/8.438, allocations: 57.12 kB / 3.492 GB, free: 227.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/8.439, allocations: 0.5296 MB / 3.492 GB, free: 227.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/8.439, allocations: 28.23 kB / 3.492 GB, free: 227.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/8.439, allocations: 379.3 kB / 3.493 GB, free: 226.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/8.439, allocations: 169.1 kB / 3.493 GB, free: 226.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/8.44, allocations: 0 / 3.493 GB, free: 226.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001478/8.44, allocations: 384.4 kB / 3.493 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/8.44, allocations: 214.3 kB / 3.493 GB, free: 226.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/8.441, allocations: 347.4 kB / 3.494 GB, free: 226.1 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.005123/8.446, allocations: 0.93 MB / 3.495 GB, free: 225.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/8.446, allocations: 1.062 kB / 3.495 GB, free: 225.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002034/8.448, allocations: 0.6883 MB / 3.495 GB, free: 225.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/8.448, allocations: 5.5 kB / 3.495 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/8.448, allocations: 3.25 kB / 3.495 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/8.449, allocations: 63.09 kB / 3.495 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/8.45, allocations: 135 kB / 3.496 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/8.452, allocations: 2.631 MB / 3.498 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/8.454, allocations: 57.33 kB / 3.498 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/8.454, allocations: 19.34 kB / 3.498 GB, free: 223 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.0002557/8.455, allocations: 127.3 kB / 3.498 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/8.455, allocations: 82.44 kB / 3.498 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/8.455, allocations: 93.14 kB / 3.498 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/8.455, allocations: 3.344 kB / 3.498 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/8.455, allocations: 0 / 3.498 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001282/8.457, allocations: 0.7643 MB / 3.499 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/8.461, allocations: 1.565 MB / 3.501 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/8.461, allocations: 6.656 kB / 3.501 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/8.462, allocations: 117.1 kB / 3.501 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/8.462, allocations: 35.41 kB / 3.501 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/8.462, allocations: 7.156 kB / 3.501 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/8.464, allocations: 1.351 MB / 3.502 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/8.464, allocations: 2.594 kB / 3.502 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002319/8.466, allocations: 1.123 MB / 3.503 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003612/8.47, allocations: 1.848 MB / 3.505 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008518/8.471, allocations: 223.9 kB / 3.505 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/8.471, allocations: 5.594 kB / 3.505 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/8.472, allocations: 47.92 kB / 3.505 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/8.472, allocations: 43.33 kB / 3.505 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.667e-05/8.473, allocations: 29.92 kB / 3.505 GB, free: 217.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007884/8.473, allocations: 406.8 kB / 3.506 GB, free: 217.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00386/8.477, allocations: 494.4 kB / 3.506 GB, free: 217.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.003689/8.481, allocations: 1.449 MB / 3.508 GB, free: 217 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002587/8.484, allocations: 0.7008 MB / 3.508 GB, free: 216.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/8.484, allocations: 2.656 kB / 3.508 GB, free: 216.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/8.485, allocations: 350.1 kB / 3.509 GB, free: 216.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005568/8.49, allocations: 431.6 kB / 3.509 GB, free: 216.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/8.497, allocations: 1.332 MB / 3.51 GB, free: 215.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/8.499, allocations: 1.173 MB / 3.512 GB, free: 215 MB / 0.948 GB Notification: Performance of SimCode: time 2.284e-06/8.499, allocations: 0 / 3.512 GB, free: 215 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)