Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.487/2.487, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001664/0.001663, allocations: 185.2 kB / 360.3 MB, free: 7.555 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.944/1.944, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001266/0.001266, allocations: 94.77 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2943/0.2956, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7042/0.9999, allocations: 115.2 MB / 0.9627 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/2.067, allocations: 398 MB / 1.351 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/2.067, allocations: 87.34 kB / 1.352 GB, free: 169.6 MB / 0.8542 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 3.571/5.639, allocations: 0.6614 GB / 2.013 GB, free: 194.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/5.639, allocations: 19.22 kB / 2.013 GB, free: 194.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/5.64, allocations: 215.2 kB / 2.013 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09008/5.73, allocations: 23.01 MB / 2.036 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007746/5.731, allocations: 112 kB / 2.036 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/5.731, allocations: 50.44 kB / 2.036 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001672/5.733, allocations: 451.5 kB / 2.036 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/5.735, allocations: 0.8093 MB / 2.037 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/5.735, allocations: 3.938 kB / 2.037 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/5.735, allocations: 0 / 2.037 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/5.735, allocations: 23.44 kB / 2.037 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008447/5.744, allocations: 4.321 MB / 2.041 GB, free: 190.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008169/5.745, allocations: 248.2 kB / 2.042 GB, free: 190.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/5.745, allocations: 143.8 kB / 2.042 GB, free: 190.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009783/5.746, allocations: 1.154 MB / 2.043 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/5.746, allocations: 35.97 kB / 2.043 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=29): time 3.216e-06/5.746, allocations: 0 / 2.043 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=29): time 0.002138/5.748, allocations: 455.4 kB / 2.043 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/5.748, allocations: 55.34 kB / 2.043 GB, free: 189 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/5.75, allocations: 0.6493 MB / 2.044 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/5.75, allocations: 32.08 kB / 2.044 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/5.75, allocations: 440.5 kB / 2.044 GB, free: 188.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/5.75, allocations: 99.94 kB / 2.045 GB, free: 188.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/5.75, allocations: 7.219 kB / 2.045 GB, free: 188.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.298e-05/5.75, allocations: 321.4 kB / 2.045 GB, free: 188.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/5.751, allocations: 104.4 kB / 2.045 GB, free: 188.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/5.751, allocations: 316.6 kB / 2.045 GB, free: 188 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/5.752, allocations: 193.2 kB / 2.045 GB, free: 188 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/5.752, allocations: 0 / 2.045 GB, free: 188 MB / 0.9323 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002392/5.755, allocations: 0.5625 MB / 2.046 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/5.755, allocations: 10.66 kB / 2.046 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/5.755, allocations: 3.938 kB / 2.046 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007892/5.755, allocations: 125.6 kB / 2.046 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/5.756, allocations: 130.3 kB / 2.046 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/5.758, allocations: 1.725 MB / 2.048 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/5.76, allocations: 102.5 kB / 2.048 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/5.76, allocations: 35.52 kB / 2.048 GB, free: 186.3 MB / 0.9323 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.0002615/5.76, allocations: 128.2 kB / 2.048 GB, free: 186.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/5.76, allocations: 100.3 kB / 2.048 GB, free: 186.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/5.763, allocations: 0.5914 MB / 2.049 GB, free: 186 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/5.763, allocations: 12.91 kB / 2.049 GB, free: 186 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/5.763, allocations: 0 / 2.049 GB, free: 186 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/5.763, allocations: 0 / 2.049 GB, free: 186 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/5.767, allocations: 1.359 MB / 2.05 GB, free: 185.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/5.767, allocations: 9.344 kB / 2.05 GB, free: 185.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/5.768, allocations: 76.22 kB / 2.05 GB, free: 185.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007174/5.768, allocations: 125.1 kB / 2.05 GB, free: 185.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/5.768, allocations: 6.625 kB / 2.05 GB, free: 185.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/5.77, allocations: 1.707 MB / 2.052 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/5.77, allocations: 7.844 kB / 2.052 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002485/5.772, allocations: 0.7271 MB / 2.053 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00278/5.775, allocations: 1.164 MB / 2.054 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008402/5.776, allocations: 234.7 kB / 2.054 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/5.776, allocations: 0 / 2.054 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/5.778, allocations: 94.73 kB / 2.054 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/5.778, allocations: 26.86 kB / 2.054 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.969e-05/5.778, allocations: 24.19 kB / 2.054 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001052/5.779, allocations: 498.3 kB / 2.055 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003284/5.783, allocations: 485.7 kB / 2.055 GB, free: 182.7 MB / 0.9323 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.001721/5.784, allocations: 0.6012 MB / 2.056 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001462/5.786, allocations: 379.5 kB / 2.056 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/5.786, allocations: 0 / 2.056 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/5.787, allocations: 207.2 kB / 2.056 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/5.791, allocations: 392.9 kB / 2.057 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/5.795, allocations: 1.239 MB / 2.058 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/5.796, allocations: 1.196 MB / 2.059 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.413e-06/5.796, allocations: 0 / 2.059 GB, free: 181.4 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)