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_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_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.37/1.37, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001032/0.001032, allocations: 175.3 kB / 361.1 MB, free: 7.098 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.187/1.187, allocations: 205.1 MB / 0.6195 GB, free: 11.93 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.0008488/0.0008488, allocations: 94.3 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2238/0.2246, allocations: 121.4 MB / 0.8512 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.758, allocations: 115.3 MB / 0.9638 GB, free: 77.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.9021, allocations: 138.1 MB / 1.099 GB, free: 1.965 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.9024, allocations: 79.94 kB / 1.099 GB, free: 1.887 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01373/0.9161, allocations: 4.466 MB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.9162, allocations: 13.22 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.9162, allocations: 3.906 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.9164, allocations: 163.7 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.9164, allocations: 4 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.9164, allocations: 4.531 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.841e-05/0.9165, allocations: 24.55 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.079e-05/0.9166, allocations: 53.31 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.9166, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.9166, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.9166, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.9168, allocations: 142.2 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.9169, allocations: 37.61 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.917, allocations: 24.86 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.917, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.917, allocations: 42.55 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.917, allocations: 3.938 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0008026/0.9179, allocations: 0.5081 MB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.9179, allocations: 51.41 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.943e-05/0.918, allocations: 93 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.918, allocations: 25.7 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.918, allocations: 80.14 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.918, allocations: 47.3 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.918, allocations: 4 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.9181, allocations: 314.8 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.9182, allocations: 21.12 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.9182, allocations: 16 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.212e-05/0.9183, allocations: 27.98 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9183, allocations: 128 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001255/0.9184, allocations: 93.47 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.9184, allocations: 5.094 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9184, allocations: 4 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.9184, allocations: 0 / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.9185, allocations: 22.05 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.9186, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.9186, allocations: 4 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.9186, allocations: 0 / 1.105 GB, free: 11.41 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 5.632e-05/0.9187, allocations: 105.8 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.9187, allocations: 7.906 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.9189, allocations: 101.3 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9189, allocations: 4 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.9189, allocations: 0 / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9189, allocations: 3.75 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.9192, allocations: 315 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9192, allocations: 7.938 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.9194, allocations: 19.98 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.9194, allocations: 4 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.9194, allocations: 0 / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.9194, allocations: 4 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9194, allocations: 3.906 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002092/0.9196, allocations: 210.5 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002987/0.9199, allocations: 0.6023 MB / 1.106 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.92, allocations: 81.02 kB / 1.106 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.92, allocations: 3.984 kB / 1.106 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.9201, allocations: 4.328 kB / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.9201, allocations: 4 kB / 1.106 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.9201, allocations: 11.92 kB / 1.106 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.65e-05/0.9202, allocations: 79.28 kB / 1.106 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008045/0.921, allocations: 39.94 kB / 1.106 GB, free: 9.727 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0002105/0.9212, allocations: 143.1 kB / 1.106 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.9213, allocations: 55.94 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9213, allocations: 0 / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.9213, allocations: 31.94 kB / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.9215, allocations: 3.984 kB / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.9219, allocations: 211.3 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.9222, allocations: 0.7153 MB / 1.107 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.9222, allocations: 0 / 1.107 GB, free: 8.523 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)