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_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.211/1.211, allocations: 249.4 MB / 256.7 MB, free: 0.7656 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000984/0.0009843, allocations: 181.2 kB / 316 MB, free: 8.973 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.1 MB / 0.5667 GB, free: 13.43 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008015/0.0008015, allocations: 81.94 kB / 0.671 GB, free: 51.57 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1993/0.2001, allocations: 112.5 MB / 0.7808 GB, free: 9.859 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.6866, allocations: 106.3 MB / 0.8846 GB, free: 89.1 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.8431, allocations: 131.5 MB / 1.013 GB, free: 14.16 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.8434, allocations: 75.95 kB / 1.013 GB, free: 14.09 MB / 0.659 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.008819/0.8523, allocations: 2.831 MB / 1.016 GB, free: 11.29 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.8523, allocations: 11.94 kB / 1.016 GB, free: 11.28 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.8524, allocations: 7.984 kB / 1.016 GB, free: 11.27 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.8525, allocations: 166.7 kB / 1.016 GB, free: 11.07 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.8525, allocations: 0 / 1.016 GB, free: 11.07 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.8526, allocations: 4 kB / 1.016 GB, free: 11.07 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.752e-05/0.8526, allocations: 8 kB / 1.016 GB, free: 11.06 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.455e-05/0.8527, allocations: 39.19 kB / 1.016 GB, free: 11.02 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.8527, allocations: 0 / 1.016 GB, free: 11.02 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.8528, allocations: 0 / 1.016 GB, free: 11.02 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.8528, allocations: 0 / 1.016 GB, free: 11.02 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.8529, allocations: 138.2 kB / 1.016 GB, free: 10.84 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.8531, allocations: 31.03 kB / 1.016 GB, free: 10.81 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.8531, allocations: 18.77 kB / 1.016 GB, free: 10.79 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.8532, allocations: 3.984 kB / 1.016 GB, free: 10.79 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.8532, allocations: 30.56 kB / 1.016 GB, free: 10.75 MB / 0.659 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.8532, allocations: 0 / 1.016 GB, free: 10.75 MB / 0.659 GB Notification: Performance of matching and sorting (n=6): time 0.0005313/0.8538, allocations: 291 kB / 1.017 GB, free: 10.41 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.8538, allocations: 52.28 kB / 1.017 GB, free: 10.35 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.8538, allocations: 90 kB / 1.017 GB, free: 10.26 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.8539, allocations: 25.7 kB / 1.017 GB, free: 10.23 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.8539, allocations: 85.02 kB / 1.017 GB, free: 10.14 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.8539, allocations: 15.7 kB / 1.017 GB, free: 10.12 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.8539, allocations: 4 kB / 1.017 GB, free: 10.12 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.854, allocations: 315.6 kB / 1.017 GB, free: 9.805 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.854, allocations: 5 kB / 1.017 GB, free: 9.801 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.8541, allocations: 15.94 kB / 1.017 GB, free: 9.785 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/0.8541, allocations: 15.28 kB / 1.017 GB, free: 9.773 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.8541, allocations: 0 / 1.017 GB, free: 9.773 MB / 0.659 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.278e-05/0.8542, allocations: 66.38 kB / 1.017 GB, free: 9.703 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.8542, allocations: 5.875 kB / 1.017 GB, free: 9.699 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8542, allocations: 2.25 kB / 1.017 GB, free: 9.699 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.8542, allocations: 0 / 1.017 GB, free: 9.699 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.8543, allocations: 16.97 kB / 1.017 GB, free: 9.684 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8543, allocations: 0 / 1.017 GB, free: 9.684 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.8543, allocations: 0 / 1.017 GB, free: 9.684 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.8544, allocations: 0 / 1.017 GB, free: 9.684 MB / 0.659 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.195e-05/0.8544, allocations: 109.7 kB / 1.017 GB, free: 9.57 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.8544, allocations: 0.75 kB / 1.017 GB, free: 9.57 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.8546, allocations: 69.23 kB / 1.018 GB, free: 9.5 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8546, allocations: 0 / 1.018 GB, free: 9.5 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8546, allocations: 10.97 kB / 1.018 GB, free: 9.492 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.8546, allocations: 0.7812 kB / 1.018 GB, free: 9.492 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.8549, allocations: 284.9 kB / 1.018 GB, free: 9.168 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8549, allocations: 1.125 kB / 1.018 GB, free: 9.168 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.855, allocations: 16.64 kB / 1.018 GB, free: 9.152 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.855, allocations: 0 / 1.018 GB, free: 9.152 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.855, allocations: 4.031 kB / 1.018 GB, free: 9.148 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.855, allocations: 14.75 kB / 1.018 GB, free: 9.137 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.855, allocations: 0 / 1.018 GB, free: 9.137 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001526/0.8552, allocations: 182 kB / 1.018 GB, free: 8.934 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000248/0.8554, allocations: 0.5612 MB / 1.019 GB, free: 8.344 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.8555, allocations: 91.84 kB / 1.019 GB, free: 8.238 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.8555, allocations: 0 / 1.019 GB, free: 8.238 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.8556, allocations: 0 / 1.019 GB, free: 8.238 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.8556, allocations: 11.89 kB / 1.019 GB, free: 8.227 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.8556, allocations: 0 / 1.019 GB, free: 8.227 MB / 0.659 GB Notification: Performance of sort global known variables: time 3.135e-05/0.8556, allocations: 89.36 kB / 1.019 GB, free: 8.141 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0007718/0.8564, allocations: 27.94 kB / 1.019 GB, free: 8.113 MB / 0.659 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.0001683/0.8566, allocations: 127.2 kB / 1.019 GB, free: 7.98 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.8567, allocations: 27.94 kB / 1.019 GB, free: 7.953 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8567, allocations: 4 kB / 1.019 GB, free: 7.949 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.8567, allocations: 15.94 kB / 1.019 GB, free: 7.934 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.8569, allocations: 4 kB / 1.019 GB, free: 7.93 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.8572, allocations: 137.8 kB / 1.019 GB, free: 7.773 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.8575, allocations: 0.6919 MB / 1.02 GB, free: 7.055 MB / 0.659 GB Notification: Performance of SimCode: time 2.5e-07/0.8575, allocations: 0 / 1.02 GB, free: 7.055 MB / 0.659 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)