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_DerivativeCheck.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_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.388/1.388, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009964/0.0009965, allocations: 185.3 kB / 361.1 MB, free: 7.102 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.16/1.16, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.0008642/0.0008641, allocations: 93.27 kB / 0.7325 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2014/0.2023, allocations: 121.4 MB / 0.8511 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.7095, allocations: 115.3 MB / 0.9638 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.8639, allocations: 137.8 MB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.8642, allocations: 76.75 kB / 1.098 GB, free: 2.145 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.008743/0.8729, allocations: 2.834 MB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.873, allocations: 12.06 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.873, allocations: 7.906 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.787e-05/0.8731, allocations: 167 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.8732, allocations: 1.625 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.8732, allocations: 4.5 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.048e-05/0.8733, allocations: 5.156 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.413e-05/0.8733, allocations: 41.69 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.8733, allocations: 3.906 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.8734, allocations: 0.9688 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8734, allocations: 0 / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.8735, allocations: 135 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.8737, allocations: 26.5 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.8737, allocations: 20.84 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.8737, allocations: 8.016 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.8738, allocations: 34.56 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.8738, allocations: 7.938 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.000518/0.8743, allocations: 275.4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.8743, allocations: 51.41 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.364e-05/0.8744, allocations: 100.9 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.8744, allocations: 25.7 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.8744, allocations: 80.14 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.8745, allocations: 23.7 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.8745, allocations: 0 / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.8746, allocations: 310.8 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.8746, allocations: 10.06 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.8746, allocations: 12 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.8747, allocations: 7.984 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.8747, allocations: 8 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.373e-05/0.8748, allocations: 58.86 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.8748, allocations: 11.89 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8748, allocations: 2.125 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.8748, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.8749, allocations: 12 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.8749, allocations: 3.938 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.8749, allocations: 0 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.8749, allocations: 0 / 1.103 GB, free: 13.71 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 (7): * Single equations (assignments): 7 * 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 6.222e-05/0.875, allocations: 109 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.875, allocations: 3.906 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.8752, allocations: 71.33 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.8752, allocations: 4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8752, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.8752, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.8755, allocations: 283.9 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8755, allocations: 2.156 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.8756, allocations: 15.98 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.8756, allocations: 4.031 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.8756, allocations: 0 / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.257e-06/0.8756, allocations: 4 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8756, allocations: 0 / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001778/0.8758, allocations: 183.8 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002999/0.8761, allocations: 0.5612 MB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.8762, allocations: 97 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.8762, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.8763, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.8763, allocations: 9.016 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.8763, allocations: 4.062 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.17e-05/0.8763, allocations: 79.28 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007817/0.8771, allocations: 27.88 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001818/0.8773, allocations: 138.9 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.773e-05/0.8774, allocations: 27.52 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.8774, allocations: 0 / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.8774, allocations: 15.94 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.8776, allocations: 8.656 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.8779, allocations: 136.9 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.8781, allocations: 0.6919 MB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8782, allocations: 0 / 1.105 GB, free: 11.08 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)