Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.549/2.549, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001658/0.001658, allocations: 177.4 kB / 360.3 MB, free: 7.559 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.012/2.012, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001283/0.001283, allocations: 89.11 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3085/0.3098, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7072/1.017, allocations: 115.2 MB / 0.9627 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.656/6.674, allocations: 2.088 GB / 3.051 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/6.674, allocations: 87.45 kB / 3.051 GB, free: 268.6 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 4.65/11.32, allocations: 1.003 GB / 4.054 GB, free: 26.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/11.32, allocations: 12.5 kB / 4.054 GB, free: 26.76 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005945/11.33, allocations: 0.5993 MB / 4.055 GB, free: 26.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004339/11.33, allocations: 1.058 MB / 4.056 GB, free: 25.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001278/11.34, allocations: 177.9 kB / 4.056 GB, free: 24.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004937/11.34, allocations: 52 kB / 4.056 GB, free: 24.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003504/11.34, allocations: 1.054 MB / 4.057 GB, free: 23.78 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003211/11.34, allocations: 1.037 MB / 4.058 GB, free: 22.72 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/11.34, allocations: 0 / 4.058 GB, free: 22.72 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/11.34, allocations: 0 / 4.058 GB, free: 22.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/11.34, allocations: 45.97 kB / 4.058 GB, free: 22.68 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01733/11.36, allocations: 4.094 MB / 4.062 GB, free: 18.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/11.36, allocations: 0.7155 MB / 4.063 GB, free: 17.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/11.36, allocations: 0.5031 MB / 4.063 GB, free: 17.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/11.37, allocations: 0.6203 MB / 4.064 GB, free: 16.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/11.37, allocations: 39.22 kB / 4.064 GB, free: 16.33 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.536e-06/11.37, allocations: 0 / 4.064 GB, free: 16.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.004441/11.37, allocations: 1.194 MB / 4.065 GB, free: 15.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/11.37, allocations: 60.06 kB / 4.065 GB, free: 15.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/11.37, allocations: 0.563 MB / 4.066 GB, free: 14.49 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002162/11.37, allocations: 29.7 kB / 4.066 GB, free: 14.46 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/11.37, allocations: 336.2 kB / 4.066 GB, free: 14.12 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/11.37, allocations: 248.2 kB / 4.066 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/11.37, allocations: 0 / 4.066 GB, free: 13.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/11.37, allocations: 334 kB / 4.067 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/11.37, allocations: 409.4 kB / 4.067 GB, free: 13.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/11.37, allocations: 0.5348 MB / 4.068 GB, free: 12.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/11.38, allocations: 0.6159 MB / 4.068 GB, free: 11.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/11.38, allocations: 0 / 4.068 GB, free: 11.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00413/11.38, allocations: 1.217 MB / 4.07 GB, free: 10.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/11.38, allocations: 463.6 kB / 4.07 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/11.38, allocations: 3.938 kB / 4.07 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/11.38, allocations: 4 kB / 4.07 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003422/11.38, allocations: 295.6 kB / 4.07 GB, free: 9.938 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009185/11.39, allocations: 1.215 MB / 4.071 GB, free: 8.676 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/11.39, allocations: 183.5 kB / 4.072 GB, free: 8.496 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/11.39, allocations: 39.97 kB / 4.072 GB, free: 8.457 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/11.39, allocations: 4 kB / 4.072 GB, free: 8.453 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003795/11.39, allocations: 1.095 MB / 4.073 GB, free: 7.355 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/11.39, allocations: 0 / 4.073 GB, free: 7.355 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/11.39, allocations: 4 kB / 4.073 GB, free: 7.352 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004814/11.4, allocations: 279.8 kB / 4.073 GB, free: 7.078 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.619e-05/11.4, allocations: 7.938 kB / 4.073 GB, free: 7.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00467/11.4, allocations: 175.4 kB / 4.073 GB, free: 6.898 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005651/11.4, allocations: 35.97 kB / 4.073 GB, free: 6.863 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007416/11.4, allocations: 128.5 kB / 4.073 GB, free: 6.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007458/11.4, allocations: 90.88 kB / 4.073 GB, free: 6.641 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007708/11.41, allocations: 1.275 MB / 4.075 GB, free: 5.355 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/11.41, allocations: 8 kB / 4.075 GB, free: 5.348 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/11.41, allocations: 0 / 4.075 GB, free: 5.348 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/11.41, allocations: 3.984 kB / 4.075 GB, free: 5.344 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00817/11.42, allocations: 2.642 MB / 4.077 GB, free: 2.605 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/11.42, allocations: 4 kB / 4.077 GB, free: 2.602 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/11.42, allocations: 271.9 kB / 4.078 GB, free: 2.336 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.908e-05/11.42, allocations: 11.91 kB / 4.078 GB, free: 2.324 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/11.42, allocations: 15.98 kB / 4.078 GB, free: 2.309 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006074/11.42, allocations: 1.203 MB / 4.079 GB, free: 1.059 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-06/11.42, allocations: 7.938 kB / 4.079 GB, free: 1.051 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004184/11.43, allocations: 1.54 MB / 4.08 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005129/11.43, allocations: 2.054 MB / 4.082 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/11.43, allocations: 315.5 kB / 4.083 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/11.43, allocations: 4 kB / 4.083 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/11.44, allocations: 171.7 kB / 4.083 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/11.44, allocations: 48.42 kB / 4.083 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/11.44, allocations: 43.97 kB / 4.083 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001069/11.44, allocations: 439.1 kB / 4.083 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007213/11.45, allocations: 1.284 MB / 4.084 GB, free: 10.84 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007551/11.45, allocations: 2.632 MB / 4.087 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006194/11.46, allocations: 1.617 MB / 4.089 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/11.46, allocations: 4 kB / 4.089 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/11.46, allocations: 0.5366 MB / 4.089 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004549/11.47, allocations: 416.3 kB / 4.09 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03203/11.5, allocations: 2.433 MB / 4.092 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002344/11.5, allocations: 1.239 MB / 4.093 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of SimCode: time 1.483e-06/11.5, allocations: 0 / 4.093 GB, free: 1.672 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)