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_dp_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_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.368/1.368, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001076/0.001076, allocations: 187.2 kB / 361.1 MB, free: 7.059 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.22/1.22, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0009417/0.0009421, allocations: 98.25 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2298/0.2308, allocations: 121.4 MB / 0.8511 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.7061, allocations: 115.3 MB / 0.9638 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.8521, allocations: 138 MB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.8524, allocations: 76.94 kB / 1.099 GB, free: 1.906 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.01169/0.8641, allocations: 3.973 MB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.8642, allocations: 12.5 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.8642, allocations: 3.906 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.8644, allocations: 167 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.8644, allocations: 9.172 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.8644, allocations: 0 / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.424e-05/0.8645, allocations: 8 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.33e-05/0.8646, allocations: 35.02 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.8646, allocations: 3.906 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.8646, allocations: 3.984 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.8646, allocations: 0.6562 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.8648, allocations: 138.8 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.8649, allocations: 35.19 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.865, allocations: 14.27 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.865, allocations: 4.5 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.865, allocations: 35.19 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.865, allocations: 0.6875 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.000486/0.8655, allocations: 278.9 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.8656, allocations: 52.41 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.18e-05/0.8656, allocations: 97.66 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.8657, allocations: 25.7 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.8657, allocations: 80.83 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.8658, allocations: 27.64 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.8658, allocations: 0.5938 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.8659, allocations: 312.2 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.8659, allocations: 12 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.8659, allocations: 4 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.866, allocations: 12.59 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.866, allocations: 4.094 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.598e-05/0.8661, allocations: 57.69 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8661, allocations: 7.906 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.8661, allocations: 4 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.8661, allocations: 0 / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.8662, allocations: 16.45 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.8662, allocations: 0.5938 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.8662, allocations: 1.438 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.8662, allocations: 4.844 kB / 1.104 GB, free: 12.35 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.154e-05/0.8663, allocations: 102.2 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.8663, allocations: 11.91 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.8665, allocations: 68.39 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8665, allocations: 384 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8665, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8665, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.8667, allocations: 296 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8668, allocations: 0 / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.8668, allocations: 8 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.8668, allocations: 4.016 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.8669, allocations: 8 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.8669, allocations: 0 / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.8669, allocations: 7.922 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001467/0.867, allocations: 182 kB / 1.104 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002712/0.8673, allocations: 0.5621 MB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.8674, allocations: 89 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.8674, allocations: 0 / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.8675, allocations: 4 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.8675, allocations: 7.875 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.8675, allocations: 4 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.964e-05/0.8675, allocations: 87.39 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008021/0.8683, allocations: 20 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001875/0.8685, allocations: 127 kB / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.792e-05/0.8686, allocations: 33.48 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8686, allocations: 0 / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-05/0.8687, allocations: 21.06 kB / 1.105 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.8688, allocations: 10.75 kB / 1.105 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.8691, allocations: 132.7 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.8693, allocations: 0.6988 MB / 1.106 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8693, allocations: 0 / 1.106 GB, free: 9.719 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)