Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001453/0.001453, allocations: 181.2 kB / 366.3 MB, free: 1.961 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.686/1.686, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0009086/0.0009084, allocations: 94.75 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3205/0.3214, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8448/1.166, allocations: 116.3 MB / 0.9726 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/2.212, allocations: 423 MB / 1.386 GB, free: 65.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/2.212, allocations: 104 kB / 1.386 GB, free: 65.83 MB / 0.823 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 1.3/3.512, allocations: 357.2 MB / 1.735 GB, free: 222.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/3.512, allocations: 15.94 kB / 1.735 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/3.512, allocations: 90.88 kB / 1.735 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02101/3.533, allocations: 8.525 MB / 1.743 GB, free: 214.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/3.534, allocations: 16 kB / 1.743 GB, free: 214.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/3.534, allocations: 28 kB / 1.743 GB, free: 214.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007307/3.535, allocations: 313.8 kB / 1.743 GB, free: 213.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/3.535, allocations: 404.3 kB / 1.744 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/3.535, allocations: 0 / 1.744 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/3.535, allocations: 0 / 1.744 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/3.535, allocations: 12 kB / 1.744 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/3.539, allocations: 2.557 MB / 1.746 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/3.54, allocations: 297.8 kB / 1.747 GB, free: 210.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/3.54, allocations: 133.6 kB / 1.747 GB, free: 210.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009716/3.541, allocations: 1.436 MB / 1.748 GB, free: 208.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/3.541, allocations: 40.06 kB / 1.748 GB, free: 208.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.725e-06/3.541, allocations: 0 / 1.748 GB, free: 208.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.001591/3.542, allocations: 456 kB / 1.749 GB, free: 207.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/3.543, allocations: 56.22 kB / 1.749 GB, free: 207.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/3.543, allocations: 476 kB / 1.749 GB, free: 207.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/3.543, allocations: 26.23 kB / 1.749 GB, free: 207.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/3.543, allocations: 253.6 kB / 1.749 GB, free: 207.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.728e-05/3.543, allocations: 118.2 kB / 1.749 GB, free: 207 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/3.543, allocations: 0 / 1.749 GB, free: 207 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001201/3.544, allocations: 374.8 kB / 1.75 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/3.544, allocations: 113.4 kB / 1.75 GB, free: 206.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/3.544, allocations: 190.9 kB / 1.75 GB, free: 206.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/3.545, allocations: 277.3 kB / 1.75 GB, free: 206 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/3.545, allocations: 0 / 1.75 GB, free: 206 MB / 0.948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001452/3.546, allocations: 0.5343 MB / 1.751 GB, free: 205.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.123e-05/3.547, allocations: 368.3 kB / 1.751 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/3.547, allocations: 0 / 1.751 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/3.547, allocations: 4 kB / 1.751 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/3.547, allocations: 99.88 kB / 1.751 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002977/3.547, allocations: 0.5976 MB / 1.752 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/3.548, allocations: 51.78 kB / 1.752 GB, free: 204.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/3.548, allocations: 23.98 kB / 1.752 GB, free: 204.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/3.548, allocations: 4 kB / 1.752 GB, free: 204.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001331/3.549, allocations: 450.8 kB / 1.752 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/3.549, allocations: 4.172 kB / 1.752 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-06/3.549, allocations: 7.906 kB / 1.752 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/3.55, allocations: 95.88 kB / 1.753 GB, free: 203.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/3.55, allocations: 3.984 kB / 1.753 GB, free: 203.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/3.55, allocations: 50.97 kB / 1.753 GB, free: 203.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/3.55, allocations: 23.98 kB / 1.753 GB, free: 203.7 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.0001491/3.55, allocations: 115 kB / 1.753 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/3.551, allocations: 71.14 kB / 1.753 GB, free: 203.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/3.553, allocations: 0.9143 MB / 1.754 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/3.553, allocations: 11.98 kB / 1.754 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/3.553, allocations: 4 kB / 1.754 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.567e-06/3.553, allocations: 7.922 kB / 1.754 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/3.555, allocations: 1.354 MB / 1.755 GB, free: 201.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/3.555, allocations: 11.89 kB / 1.755 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/3.555, allocations: 95.88 kB / 1.755 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/3.555, allocations: 4 kB / 1.755 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/3.555, allocations: 15.98 kB / 1.755 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002244/3.556, allocations: 0.5822 MB / 1.756 GB, free: 200.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/3.556, allocations: 0 / 1.756 GB, free: 200.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001579/3.557, allocations: 1.038 MB / 1.757 GB, free: 199.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002045/3.559, allocations: 1.726 MB / 1.758 GB, free: 197.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/3.56, allocations: 211.9 kB / 1.759 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/3.56, allocations: 7.938 kB / 1.759 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/3.56, allocations: 31.88 kB / 1.759 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/3.56, allocations: 36.33 kB / 1.759 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/3.56, allocations: 19.98 kB / 1.759 GB, free: 197.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004378/3.561, allocations: 375.2 kB / 1.759 GB, free: 196.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002926/3.564, allocations: 0.6124 MB / 1.76 GB, free: 196.3 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.001496/3.565, allocations: 0.6177 MB / 1.76 GB, free: 195.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00131/3.567, allocations: 0.7054 MB / 1.761 GB, free: 195 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/3.567, allocations: 4.062 kB / 1.761 GB, free: 195 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004168/3.567, allocations: 329.1 kB / 1.761 GB, free: 194.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/3.568, allocations: 235.9 kB / 1.762 GB, free: 194.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/3.571, allocations: 1.091 MB / 1.763 GB, free: 193.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/3.571, allocations: 1.048 MB / 1.764 GB, free: 192.2 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/3.571, allocations: 0 / 1.764 GB, free: 192.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore.fmu > Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1)