Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.208/2.208, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 177.3 kB / 490.8 MB, free: 1.93 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001109, allocations: 99.48 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7722/0.7734, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/1.168, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.897/7.066, allocations: 1.92 GB / 3.131 GB, free: 387.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/7.066, allocations: 88.61 kB / 3.131 GB, free: 387.8 MB / 1.151 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.671/8.737, allocations: 469.7 MB / 3.59 GB, free: 298.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/8.737, allocations: 7.594 kB / 3.59 GB, free: 298.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002934/8.74, allocations: 328.1 kB / 3.59 GB, free: 298.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/8.743, allocations: 0.8634 MB / 3.591 GB, free: 298 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/8.743, allocations: 29.44 kB / 3.591 GB, free: 298 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/8.743, allocations: 60.62 kB / 3.591 GB, free: 298 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00186/8.745, allocations: 0.7347 MB / 3.592 GB, free: 298 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/8.747, allocations: 0.8474 MB / 3.593 GB, free: 297.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/8.747, allocations: 0 / 3.593 GB, free: 297.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/8.747, allocations: 3.312 kB / 3.593 GB, free: 297.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/8.747, allocations: 31.53 kB / 3.593 GB, free: 297.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006813/8.754, allocations: 3.393 MB / 3.596 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/8.755, allocations: 295.9 kB / 3.596 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/8.755, allocations: 259.8 kB / 3.597 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/8.755, allocations: 108.1 kB / 3.597 GB, free: 296.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/8.755, allocations: 40.16 kB / 3.597 GB, free: 296.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 3.807e-06/8.755, allocations: 0 / 3.597 GB, free: 296.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.003605/8.759, allocations: 1.343 MB / 3.598 GB, free: 296.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/8.759, allocations: 58.91 kB / 3.598 GB, free: 296 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/8.76, allocations: 0.5263 MB / 3.599 GB, free: 295.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/8.76, allocations: 29.14 kB / 3.599 GB, free: 295.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/8.76, allocations: 390.7 kB / 3.599 GB, free: 295.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/8.76, allocations: 166.4 kB / 3.599 GB, free: 295.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/8.76, allocations: 0 / 3.599 GB, free: 295.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001253/8.76, allocations: 387.1 kB / 3.6 GB, free: 295.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/8.761, allocations: 208.5 kB / 3.6 GB, free: 295.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/8.761, allocations: 357.7 kB / 3.6 GB, free: 295.1 MB / 1.151 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.002753/8.764, allocations: 0.9315 MB / 3.601 GB, free: 295 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/8.764, allocations: 0 / 3.601 GB, free: 295 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001241/8.765, allocations: 0.6886 MB / 3.602 GB, free: 294.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/8.765, allocations: 6.656 kB / 3.602 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/8.765, allocations: 3.812 kB / 3.602 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/8.765, allocations: 70.41 kB / 3.602 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/8.766, allocations: 137.9 kB / 3.602 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/8.768, allocations: 2.635 MB / 3.604 GB, free: 292.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/8.769, allocations: 50.69 kB / 3.605 GB, free: 292.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.705e-05/8.769, allocations: 29.47 kB / 3.605 GB, free: 292.5 MB / 1.151 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.0002202/8.77, allocations: 127.2 kB / 3.605 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/8.77, allocations: 75.28 kB / 3.605 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/8.77, allocations: 84.97 kB / 3.605 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/8.77, allocations: 7.375 kB / 3.605 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/8.77, allocations: 0 / 3.605 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008337/8.771, allocations: 0.7666 MB / 3.606 GB, free: 291.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/8.773, allocations: 1.56 MB / 3.607 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/8.773, allocations: 3.844 kB / 3.607 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/8.774, allocations: 119.3 kB / 3.607 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/8.774, allocations: 37.05 kB / 3.607 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/8.774, allocations: 11.5 kB / 3.607 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009061/8.775, allocations: 1.352 MB / 3.609 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/8.775, allocations: 3.719 kB / 3.609 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001214/8.776, allocations: 1.092 MB / 3.61 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002044/8.778, allocations: 1.815 MB / 3.611 GB, free: 288.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/8.779, allocations: 220.8 kB / 3.612 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/8.779, allocations: 3.875 kB / 3.612 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/8.78, allocations: 64.91 kB / 3.612 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/8.78, allocations: 29.44 kB / 3.612 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.797e-05/8.78, allocations: 29.36 kB / 3.612 GB, free: 288.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000708/8.781, allocations: 415.6 kB / 3.612 GB, free: 288.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002884/8.784, allocations: 495.3 kB / 3.613 GB, free: 288.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.002858/8.787, allocations: 1.452 MB / 3.614 GB, free: 288.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001507/8.788, allocations: 0.696 MB / 3.615 GB, free: 288.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/8.788, allocations: 6.5 kB / 3.615 GB, free: 288.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004042/8.789, allocations: 347.2 kB / 3.615 GB, free: 288.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/8.791, allocations: 427.8 kB / 3.615 GB, free: 288 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/8.795, allocations: 1.356 MB / 3.617 GB, free: 287.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009712/8.796, allocations: 1.177 MB / 3.618 GB, free: 286.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.845e-06/8.796, allocations: 0 / 3.618 GB, free: 286.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)