Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009998/0.0009996, allocations: 176.5 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000837/0.000837, allocations: 79.34 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3465/0.3473, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.5189, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4881/1.007, allocations: 132.7 MB / 1.014 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/1.007, allocations: 80.72 kB / 1.014 GB, free: 5.789 MB / 0.6355 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.01162/1.019, allocations: 3.976 MB / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.019, allocations: 11.94 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/1.019, allocations: 0 / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/1.019, allocations: 167 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/1.019, allocations: 0 / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/1.019, allocations: 0 / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.133e-05/1.019, allocations: 19.36 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.086e-05/1.019, allocations: 29.7 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.019, allocations: 0 / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.019, allocations: 0 / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/1.019, allocations: 8 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/1.02, allocations: 141.7 kB / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/1.02, allocations: 33.25 kB / 1.019 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/1.02, allocations: 16.36 kB / 1.019 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/1.02, allocations: 4 kB / 1.019 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/1.02, allocations: 34.12 kB / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/1.02, allocations: 0 / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005224/1.02, allocations: 272.1 kB / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/1.02, allocations: 55.41 kB / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/1.021, allocations: 96.59 kB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/1.021, allocations: 33.7 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/1.021, allocations: 80.14 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/1.021, allocations: 15.66 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/1.021, allocations: 0 / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.298e-05/1.021, allocations: 322.3 kB / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/1.021, allocations: 7.625 kB / 1.02 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/1.021, allocations: 11.31 kB / 1.02 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/1.021, allocations: 4.156 kB / 1.02 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/1.021, allocations: 0 / 1.02 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.354e-05/1.021, allocations: 73.58 kB / 1.02 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.021, allocations: 4 kB / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.021, allocations: 0 / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/1.021, allocations: 3.938 kB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/1.021, allocations: 15.92 kB / 1.02 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/1.021, allocations: 4 kB / 1.02 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/1.021, allocations: 0 / 1.02 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/1.021, allocations: 0 / 1.02 GB, free: 0.8789 MB / 0.6355 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 5.753e-05/1.021, allocations: 106.1 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/1.021, allocations: 7.875 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/1.021, allocations: 67.44 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.021, allocations: 0 / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.021, allocations: 11.88 kB / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.021, allocations: 0 / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/1.022, allocations: 285.9 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.022, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/1.022, allocations: 12 kB / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.022, allocations: 0 / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/1.022, allocations: 4.031 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.022, allocations: 7.844 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.022, allocations: 192 / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001454/1.022, allocations: 192.1 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000245/1.022, allocations: 0.5655 MB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/1.022, allocations: 85.03 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/1.022, allocations: 4 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/1.022, allocations: 0 / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/1.022, allocations: 3.906 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/1.022, allocations: 4 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.149e-05/1.022, allocations: 86.78 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007806/1.023, allocations: 23.98 kB / 1.021 GB, free: 15.36 MB / 0.6511 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.0002126/1.023, allocations: 130.4 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.727e-05/1.023, allocations: 23.88 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.023, allocations: 3.938 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/1.023, allocations: 19.73 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/1.024, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/1.024, allocations: 148.8 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/1.024, allocations: 0.6958 MB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.024, allocations: 0 / 1.022 GB, free: 14.3 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)