Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001183/0.001182, allocations: 176.1 kB / 366.3 MB, free: 1.969 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.76/1.76, allocations: 205.1 MB / 0.6256 GB, free: 7.449 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.0009644/0.0009643, allocations: 81.69 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2858/0.2868, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6744/0.9612, allocations: 116.3 MB / 0.9726 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/1.154, allocations: 139.7 MB / 1.109 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/1.154, allocations: 84.55 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01424/1.169, allocations: 4.27 MB / 1.113 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/1.169, allocations: 8 kB / 1.113 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/1.169, allocations: 4.5 kB / 1.113 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/1.169, allocations: 167.5 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/1.169, allocations: 6.328 kB / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/1.169, allocations: 8.562 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.683e-05/1.169, allocations: 36 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/1.169, allocations: 61.61 kB / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/1.169, allocations: 7.906 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/1.169, allocations: 1.375 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.169, allocations: 0 / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/1.17, allocations: 293.3 kB / 1.114 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/1.17, allocations: 45.58 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.059e-05/1.17, allocations: 20.86 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/1.17, allocations: 7.891 kB / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/1.17, allocations: 30.56 kB / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/1.17, allocations: 4 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000989/1.171, allocations: 0.5193 MB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/1.171, allocations: 55.41 kB / 1.115 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.22e-05/1.171, allocations: 93 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/1.171, allocations: 25.7 kB / 1.115 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/1.171, allocations: 92.03 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/1.171, allocations: 39.39 kB / 1.115 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/1.171, allocations: 0 / 1.115 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.172, allocations: 318.8 kB / 1.115 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.296e-05/1.172, allocations: 25.34 kB / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/1.172, allocations: 19.98 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/1.172, allocations: 21.62 kB / 1.115 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/1.172, allocations: 0 / 1.115 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001637/1.172, allocations: 93.7 kB / 1.115 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.172, allocations: 4 kB / 1.115 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.172, allocations: 8 kB / 1.115 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.172, allocations: 0 / 1.115 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/1.172, allocations: 27.92 kB / 1.115 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/1.172, allocations: 4 kB / 1.115 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/1.172, allocations: 7.984 kB / 1.115 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/1.172, allocations: 9.125 kB / 1.115 GB, free: 4.141 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 8.233e-05/1.172, allocations: 108.9 kB / 1.115 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/1.172, allocations: 7.906 kB / 1.115 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/1.173, allocations: 97.52 kB / 1.116 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.173, allocations: 4.562 kB / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.173, allocations: 0 / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.173, allocations: 0 / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/1.173, allocations: 338.9 kB / 1.116 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.173, allocations: 0 / 1.116 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/1.173, allocations: 27.98 kB / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.173, allocations: 7.094 kB / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.173, allocations: 0 / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.173, allocations: 0 / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.173, allocations: 0 / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003485/1.174, allocations: 225.4 kB / 1.116 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000409/1.174, allocations: 0.6132 MB / 1.117 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/1.174, allocations: 85.11 kB / 1.117 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/1.174, allocations: 0 / 1.117 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.174, allocations: 11.98 kB / 1.117 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/1.174, allocations: 3.906 kB / 1.117 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/1.174, allocations: 8.062 kB / 1.117 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.347e-05/1.174, allocations: 83.83 kB / 1.117 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009296/1.175, allocations: 43.94 kB / 1.117 GB, free: 2.391 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002505/1.176, allocations: 139.1 kB / 1.117 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001418/1.176, allocations: 56 kB / 1.117 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.176, allocations: 0 / 1.117 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.115e-05/1.176, allocations: 35.92 kB / 1.117 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/1.176, allocations: 11.41 kB / 1.117 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005595/1.177, allocations: 234.7 kB / 1.117 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/1.177, allocations: 0.7191 MB / 1.118 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/1.177, allocations: 0.75 kB / 1.118 GB, free: 1.152 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)