Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 190.5 kB / 7.807 MB, free: 2.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.468/0.468, allocations: 90.84 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.4 MB / 342.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 110.9 kB / 415.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1976/0.1987, allocations: 78.44 MB / 494 MB, free: 7.945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.6253, allocations: 72.3 MB / 0.553 GB, free: 73.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6821/1.308, allocations: 362.2 MB / 0.9067 GB, free: 12.42 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/1.308, allocations: 83.02 kB / 0.9068 GB, free: 12.38 MB / 0.573 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 2.364/3.672, allocations: 0.6677 GB / 1.574 GB, free: 88.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/3.672, allocations: 8 kB / 1.575 GB, free: 88.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009344/3.673, allocations: 212.2 kB / 1.575 GB, free: 88.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05778/3.731, allocations: 23.5 MB / 1.598 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/3.732, allocations: 105.8 kB / 1.598 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/3.732, allocations: 48 kB / 1.598 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001262/3.733, allocations: 455.4 kB / 1.598 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/3.735, allocations: 0.8057 MB / 1.599 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/3.735, allocations: 3.938 kB / 1.599 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.766e-05/3.735, allocations: 4 kB / 1.599 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/3.735, allocations: 24 kB / 1.599 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00561/3.741, allocations: 4.324 MB / 1.603 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/3.741, allocations: 242.3 kB / 1.604 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/3.741, allocations: 148 kB / 1.604 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007156/3.742, allocations: 1.159 MB / 1.605 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/3.742, allocations: 42.41 kB / 1.605 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=29): time 2.575e-06/3.742, allocations: 0 / 1.605 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29): time 0.001448/3.743, allocations: 447.4 kB / 1.605 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/3.744, allocations: 58.94 kB / 1.605 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009869/3.744, allocations: 0.659 MB / 1.606 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/3.745, allocations: 29.7 kB / 1.606 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/3.745, allocations: 430.5 kB / 1.606 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/3.745, allocations: 102.5 kB / 1.606 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/3.745, allocations: 0 / 1.606 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.221e-05/3.745, allocations: 325.9 kB / 1.607 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/3.745, allocations: 108.8 kB / 1.607 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/3.745, allocations: 308 kB / 1.607 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/3.746, allocations: 191 kB / 1.607 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/3.746, allocations: 7.594 kB / 1.607 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001399/3.747, allocations: 0.5688 MB / 1.608 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/3.747, allocations: 4 kB / 1.608 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/3.747, allocations: 8 kB / 1.608 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005121/3.748, allocations: 129.8 kB / 1.608 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/3.749, allocations: 135.4 kB / 1.608 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009693/3.749, allocations: 1.731 MB / 1.61 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008907/3.75, allocations: 98.44 kB / 1.61 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/3.75, allocations: 31.98 kB / 1.61 GB, free: 51.66 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volQflow.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001959/3.751, allocations: 124.4 kB / 1.61 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/3.751, allocations: 94.78 kB / 1.61 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/3.752, allocations: 0.589 MB / 1.611 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/3.752, allocations: 6.781 kB / 1.611 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/3.752, allocations: 5.484 kB / 1.611 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/3.752, allocations: 0 / 1.611 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/3.755, allocations: 1.355 MB / 1.612 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/3.755, allocations: 4 kB / 1.612 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/3.755, allocations: 81.94 kB / 1.612 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/3.756, allocations: 126.2 kB / 1.612 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/3.756, allocations: 11.98 kB / 1.612 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008396/3.757, allocations: 1.708 MB / 1.614 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/3.757, allocations: 7.5 kB / 1.614 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001325/3.758, allocations: 0.7339 MB / 1.615 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001465/3.76, allocations: 1.163 MB / 1.616 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/3.76, allocations: 227.7 kB / 1.616 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/3.76, allocations: 3.984 kB / 1.616 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008467/3.761, allocations: 97.83 kB / 1.616 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/3.761, allocations: 30.84 kB / 1.616 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/3.761, allocations: 23.97 kB / 1.616 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006319/3.762, allocations: 0.4985 MB / 1.617 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002209/3.764, allocations: 478.9 kB / 1.617 GB, free: 44.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001324/3.765, allocations: 0.6098 MB / 1.618 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007733/3.766, allocations: 380.8 kB / 1.618 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/3.766, allocations: 0 / 1.618 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003782/3.767, allocations: 206.4 kB / 1.618 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/3.769, allocations: 405 kB / 1.619 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/3.771, allocations: 1.242 MB / 1.62 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008304/3.772, allocations: 1.193 MB / 1.621 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/3.772, allocations: 0.7188 kB / 1.621 GB, free: 40.12 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)