Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",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.294/2.294, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001639/0.001639, allocations: 177.3 kB / 360.3 MB, free: 7.562 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.845/1.845, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001256/0.001256, allocations: 91.12 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2724/0.2737, allocations: 121.4 MB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7358/1.01, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/2.045, allocations: 421.9 MB / 1.375 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/2.046, allocations: 97.73 kB / 1.375 GB, free: 142.2 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 2.021/4.067, allocations: 357 MB / 1.723 GB, free: 237.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/4.067, allocations: 14.67 kB / 1.723 GB, free: 237.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/4.068, allocations: 92.09 kB / 1.724 GB, free: 237.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03409/4.102, allocations: 8.501 MB / 1.732 GB, free: 235.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/4.102, allocations: 14.03 kB / 1.732 GB, free: 235.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/4.102, allocations: 31.97 kB / 1.732 GB, free: 235.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001127/4.103, allocations: 313 kB / 1.732 GB, free: 235.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/4.104, allocations: 405.2 kB / 1.733 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/4.104, allocations: 1 kB / 1.733 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/4.104, allocations: 2.688 kB / 1.733 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/4.105, allocations: 10.69 kB / 1.733 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006325/4.111, allocations: 2.568 MB / 1.735 GB, free: 233 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009906/4.112, allocations: 293.9 kB / 1.735 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/4.112, allocations: 148.9 kB / 1.736 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/4.114, allocations: 1.431 MB / 1.737 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/4.114, allocations: 39.75 kB / 1.737 GB, free: 231.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 3.246e-06/4.114, allocations: 0 / 1.737 GB, free: 231.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.002762/4.117, allocations: 458.2 kB / 1.737 GB, free: 231.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/4.117, allocations: 58.5 kB / 1.737 GB, free: 231 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009828/4.118, allocations: 471.7 kB / 1.738 GB, free: 230.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.225e-05/4.118, allocations: 27.42 kB / 1.738 GB, free: 230.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/4.118, allocations: 248.5 kB / 1.738 GB, free: 230.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/4.118, allocations: 124.2 kB / 1.738 GB, free: 230.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/4.118, allocations: 0 / 1.738 GB, free: 230.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001321/4.118, allocations: 374.8 kB / 1.739 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/4.119, allocations: 113.4 kB / 1.739 GB, free: 230.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/4.119, allocations: 181.8 kB / 1.739 GB, free: 229.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/4.121, allocations: 283.9 kB / 1.739 GB, free: 229.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/4.121, allocations: 1.125 kB / 1.739 GB, free: 229.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0029/4.124, allocations: 0.5387 MB / 1.74 GB, free: 229.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/4.124, allocations: 361.4 kB / 1.74 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/4.124, allocations: 6.078 kB / 1.74 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/4.124, allocations: 2.75 kB / 1.74 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009733/4.125, allocations: 101.7 kB / 1.74 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004202/4.126, allocations: 0.5988 MB / 1.741 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009668/4.127, allocations: 46.97 kB / 1.741 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/4.127, allocations: 23.31 kB / 1.741 GB, free: 228.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/4.127, allocations: 4.625 kB / 1.741 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002511/4.13, allocations: 454.7 kB / 1.741 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/4.13, allocations: 3.344 kB / 1.741 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/4.13, allocations: 7.344 kB / 1.741 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/4.13, allocations: 97.03 kB / 1.741 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/4.13, allocations: 2.156 kB / 1.741 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009123/4.131, allocations: 46.59 kB / 1.741 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/4.131, allocations: 23.45 kB / 1.741 GB, free: 228.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001915/4.132, allocations: 107 kB / 1.742 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/4.132, allocations: 66.31 kB / 1.742 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003654/4.136, allocations: 0.9292 MB / 1.743 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/4.136, allocations: 10.14 kB / 1.743 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/4.136, allocations: 0.9375 kB / 1.743 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/4.136, allocations: 6.938 kB / 1.743 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/4.14, allocations: 1.353 MB / 1.744 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-05/4.14, allocations: 8.656 kB / 1.744 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007789/4.141, allocations: 89.02 kB / 1.744 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/4.141, allocations: 3.906 kB / 1.744 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/4.141, allocations: 11.22 kB / 1.744 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003528/4.141, allocations: 0.5948 MB / 1.745 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/4.141, allocations: 0 / 1.745 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003831/4.145, allocations: 1.036 MB / 1.746 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003816/4.149, allocations: 1.726 MB / 1.747 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005774/4.149, allocations: 211.7 kB / 1.747 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/4.15, allocations: 3.938 kB / 1.747 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/4.15, allocations: 28.92 kB / 1.747 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/4.151, allocations: 34.44 kB / 1.748 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/4.151, allocations: 23.38 kB / 1.748 GB, free: 225.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007236/4.151, allocations: 363.8 kB / 1.748 GB, free: 224.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006017/4.157, allocations: 0.6104 MB / 1.748 GB, free: 224.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001626/4.159, allocations: 0.6411 MB / 1.749 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002039/4.161, allocations: 0.707 MB / 1.75 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/4.161, allocations: 0 / 1.75 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008138/4.162, allocations: 326.7 kB / 1.75 GB, free: 224 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/4.165, allocations: 237 kB / 1.75 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/4.168, allocations: 1.084 MB / 1.751 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009808/4.169, allocations: 1.057 MB / 1.752 GB, free: 222.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.282e-06/4.169, allocations: 0 / 1.752 GB, free: 222.8 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1)