Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.1-maint.8.0.x/package.mo): time 1.381/1.381, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001045/0.001045, allocations: 185.3 kB / 361.1 MB, free: 7.086 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.201/1.201, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.000767/0.000767, allocations: 101.3 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2144/0.2152, allocations: 121.4 MB / 0.8512 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.7138, allocations: 115.3 MB / 0.9637 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.8579, allocations: 138.7 MB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.8582, allocations: 79.95 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01259/0.8708, allocations: 4.294 MB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.8708, allocations: 8.5 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.8709, allocations: 4 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.871, allocations: 170.9 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.871, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.8711, allocations: 4 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.472e-05/0.8712, allocations: 31.98 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.8713, allocations: 53.69 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.8713, allocations: 11.89 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.8713, allocations: 1.594 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8713, allocations: 7.984 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.8719, allocations: 301.2 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.532e-05/0.8719, allocations: 37.7 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.872, allocations: 16.86 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.872, allocations: 7.906 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.8721, allocations: 34.66 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.8721, allocations: 0 / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0009035/0.873, allocations: 0.5227 MB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.873, allocations: 51.41 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.8731, allocations: 93 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.8731, allocations: 29.7 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.8731, allocations: 88.03 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.8732, allocations: 37.44 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.8732, allocations: 0 / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.8733, allocations: 326.8 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.8734, allocations: 20 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.8734, allocations: 20 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.8735, allocations: 19.98 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8735, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000137/0.8736, allocations: 89.53 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.8736, allocations: 4 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8736, allocations: 3.984 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.8736, allocations: 0 / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.8738, allocations: 38.11 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.8738, allocations: 0 / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.8739, allocations: 8 kB / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.8739, allocations: 0 / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.323e-05/0.874, allocations: 116.8 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.8741, allocations: 11.91 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.8743, allocations: 96.72 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8743, allocations: 4 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8743, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8743, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.8747, allocations: 330.9 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.8747, allocations: 4 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.8749, allocations: 33.75 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8749, allocations: 0 / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.8749, allocations: 4 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.8749, allocations: 0 / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8749, allocations: 0 / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002234/0.8751, allocations: 223.3 kB / 1.106 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003406/0.8755, allocations: 0.6134 MB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.8755, allocations: 85.09 kB / 1.107 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.8756, allocations: 0 / 1.107 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.8757, allocations: 4 kB / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.8757, allocations: 11.89 kB / 1.107 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.8757, allocations: 4 kB / 1.107 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.42e-05/0.8758, allocations: 83.53 kB / 1.107 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008184/0.8766, allocations: 43.92 kB / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.8768, allocations: 143 kB / 1.107 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.877, allocations: 62.23 kB / 1.107 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.877, allocations: 0 / 1.107 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.877, allocations: 35.94 kB / 1.107 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.8772, allocations: 11.95 kB / 1.107 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.8777, allocations: 235.5 kB / 1.108 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.8779, allocations: 0.7114 MB / 1.108 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.8779, allocations: 0 / 1.108 GB, free: 7.664 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)