Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.573/1.573, allocations: 289.8 MB / 297.1 MB, free: 12.58 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.001151, allocations: 181.7 kB / 366.3 MB, free: 11.9 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 0.6256 GB, free: 2.059 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 92.31 kB / 0.7395 GB, free: 47.01 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.2753/0.2766, allocations: 122.4 MB / 0.8591 GB, free: 7.066 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6916/0.9682, allocations: 116.3 MB / 0.9726 GB, free: 81.42 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9412/1.909, allocations: 399.2 MB / 1.362 GB, free: 172 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.91, allocations: 85.08 kB / 1.363 GB, free: 171.9 MB / 0.8621 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.51/4.42, allocations: 0.6615 GB / 2.024 GB, free: 194.2 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/4.42, allocations: 10.03 kB / 2.024 GB, free: 194.2 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006922/4.421, allocations: 213.1 kB / 2.024 GB, free: 194.2 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05372/4.474, allocations: 23.02 MB / 2.047 GB, free: 193.1 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/4.475, allocations: 108.1 kB / 2.047 GB, free: 193.1 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/4.475, allocations: 49.03 kB / 2.047 GB, free: 193.1 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001107/4.476, allocations: 454.3 kB / 2.047 GB, free: 193.1 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/4.478, allocations: 0.8136 MB / 2.048 GB, free: 192.8 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/4.478, allocations: 0 / 2.048 GB, free: 192.8 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/4.478, allocations: 6.375 kB / 2.048 GB, free: 192.8 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/4.478, allocations: 22.84 kB / 2.048 GB, free: 192.8 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005429/4.483, allocations: 4.328 MB / 2.052 GB, free: 190.2 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/4.484, allocations: 244.6 kB / 2.053 GB, free: 190.2 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/4.484, allocations: 144.5 kB / 2.053 GB, free: 190.2 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007027/4.485, allocations: 1.148 MB / 2.054 GB, free: 188.9 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/4.485, allocations: 38.78 kB / 2.054 GB, free: 188.8 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=29): time 2.565e-06/4.485, allocations: 2.719 kB / 2.054 GB, free: 188.8 MB / 0.9402 GB Notification: Performance of matching and sorting (n=29): time 0.00137/4.486, allocations: 453.8 kB / 2.054 GB, free: 188.7 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/4.486, allocations: 62.78 kB / 2.054 GB, free: 188.7 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/4.487, allocations: 0.648 MB / 2.055 GB, free: 188.5 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/4.487, allocations: 25.7 kB / 2.055 GB, free: 188.5 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/4.487, allocations: 441.4 kB / 2.055 GB, free: 188.3 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/4.487, allocations: 96.62 kB / 2.056 GB, free: 188.2 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/4.487, allocations: 0 / 2.056 GB, free: 188.2 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 6.221e-05/4.488, allocations: 324.8 kB / 2.056 GB, free: 187.9 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/4.488, allocations: 108.2 kB / 2.056 GB, free: 187.9 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/4.488, allocations: 314 kB / 2.056 GB, free: 187.6 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/4.489, allocations: 188.6 kB / 2.056 GB, free: 187.6 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/4.489, allocations: 2.781 kB / 2.056 GB, free: 187.6 MB / 0.9402 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001361/4.49, allocations: 0.5722 MB / 2.057 GB, free: 187.5 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/4.49, allocations: 6.938 kB / 2.057 GB, free: 187.5 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/4.49, allocations: 3.625 kB / 2.057 GB, free: 187.5 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/4.49, allocations: 129.2 kB / 2.057 GB, free: 187.5 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/4.491, allocations: 136.5 kB / 2.057 GB, free: 187.5 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009389/4.492, allocations: 1.726 MB / 2.059 GB, free: 186 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008463/4.493, allocations: 105.4 kB / 2.059 GB, free: 185.9 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/4.493, allocations: 27.97 kB / 2.059 GB, free: 185.9 MB / 0.9402 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.000179/4.493, allocations: 128.8 kB / 2.059 GB, free: 185.8 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/4.493, allocations: 100.2 kB / 2.059 GB, free: 185.8 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/4.495, allocations: 0.5868 MB / 2.06 GB, free: 185.7 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/4.495, allocations: 3.562 kB / 2.06 GB, free: 185.7 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/4.495, allocations: 0 / 2.06 GB, free: 185.7 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/4.495, allocations: 2.844 kB / 2.06 GB, free: 185.7 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/4.497, allocations: 1.354 MB / 2.061 GB, free: 185.3 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/4.497, allocations: 3.812 kB / 2.061 GB, free: 185.3 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/4.498, allocations: 91.42 kB / 2.061 GB, free: 185.3 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004163/4.498, allocations: 121.1 kB / 2.061 GB, free: 185.3 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/4.498, allocations: 9.188 kB / 2.061 GB, free: 185.3 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008201/4.499, allocations: 1.704 MB / 2.063 GB, free: 183.8 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/4.499, allocations: 6.219 kB / 2.063 GB, free: 183.8 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00126/4.5, allocations: 0.7478 MB / 2.064 GB, free: 183.4 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001395/4.502, allocations: 1.155 MB / 2.065 GB, free: 182.7 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/4.502, allocations: 233.2 kB / 2.065 GB, free: 182.5 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/4.502, allocations: 7.219 kB / 2.065 GB, free: 182.5 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007582/4.503, allocations: 91.8 kB / 2.065 GB, free: 182.5 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/4.503, allocations: 25 kB / 2.065 GB, free: 182.5 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/4.503, allocations: 25.52 kB / 2.065 GB, free: 182.5 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.0005683/4.504, allocations: 0.4897 MB / 2.066 GB, free: 182.4 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.002022/4.506, allocations: 485.9 kB / 2.066 GB, free: 182.3 MB / 0.9402 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.001133/4.507, allocations: 0.6035 MB / 2.067 GB, free: 182.2 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.0007632/4.508, allocations: 380.2 kB / 2.067 GB, free: 182.2 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/4.508, allocations: 0 / 2.067 GB, free: 182.2 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/4.508, allocations: 208.2 kB / 2.067 GB, free: 182.2 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/4.51, allocations: 391.8 kB / 2.068 GB, free: 182.1 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/4.512, allocations: 1.238 MB / 2.069 GB, free: 181.7 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007552/4.513, allocations: 1.189 MB / 2.07 GB, free: 181 MB / 0.9402 GB Notification: Performance of SimCode: time 3.9e-07/4.513, allocations: 0 / 2.07 GB, free: 181 MB / 0.9402 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)