Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.431/2.431, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001674/0.001673, allocations: 183.8 kB / 360.3 MB, free: 7.555 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.92/1.92, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001372/0.001371, allocations: 92.92 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3095/0.3109, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/1.026, allocations: 115.2 MB / 0.9627 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2593/1.285, allocations: 137.8 MB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.285, allocations: 77.73 kB / 1.097 GB, free: 2.984 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.02142/1.307, allocations: 3.974 MB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.307, allocations: 8.5 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/1.307, allocations: 5.094 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/1.307, allocations: 167.1 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/1.307, allocations: 0 / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/1.307, allocations: 0.5312 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.041e-05/1.307, allocations: 18.55 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.602e-05/1.308, allocations: 30.3 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.308, allocations: 4.5 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.308, allocations: 0.6562 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.308, allocations: 0 / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/1.308, allocations: 146.8 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/1.308, allocations: 31.12 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/1.308, allocations: 16.86 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/1.308, allocations: 0.5625 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/1.308, allocations: 32.81 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.824e-06/1.308, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0007777/1.309, allocations: 282.3 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.309, allocations: 51.91 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.575e-05/1.309, allocations: 89.53 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/1.309, allocations: 35.23 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/1.309, allocations: 84.14 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/1.309, allocations: 19.66 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/1.309, allocations: 0 / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.309, allocations: 320 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.288e-05/1.309, allocations: 8 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/1.31, allocations: 9.406 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.475e-05/1.31, allocations: 12 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/1.31, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001519/1.31, allocations: 62.39 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.31, allocations: 11.91 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.31, allocations: 4.172 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.31, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/1.31, allocations: 19.98 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.31, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/1.31, allocations: 4 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/1.31, allocations: 2.812 kB / 1.103 GB, free: 13.42 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 8.498e-05/1.31, allocations: 105.5 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/1.31, allocations: 7.906 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/1.31, allocations: 69.67 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.31, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.31, allocations: 6.312 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.31, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/1.311, allocations: 284 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.311, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/1.311, allocations: 11.94 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/1.311, allocations: 7.984 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.311, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.311, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/1.311, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002603/1.311, allocations: 187.8 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003951/1.312, allocations: 0.5729 MB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-05/1.312, allocations: 85 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/1.312, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/1.312, allocations: 4 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/1.312, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/1.312, allocations: 10.91 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.403e-05/1.312, allocations: 79.27 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001205/1.313, allocations: 28 kB / 1.104 GB, free: 11.86 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.0003134/1.314, allocations: 123.2 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000158/1.314, allocations: 35.92 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.314, allocations: 0 / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.761e-05/1.314, allocations: 16 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/1.314, allocations: 3.906 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/1.315, allocations: 141.8 kB / 1.104 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/1.315, allocations: 0.6919 MB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of SimCode: time 1.873e-06/1.315, allocations: 0 / 1.105 GB, free: 10.79 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)