Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.572/2.572, 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.001575/0.001575, allocations: 181.2 kB / 360.3 MB, free: 7.578 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.977/1.977, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.00195/0.001949, allocations: 89.72 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3064/0.3084, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/1.052, allocations: 115.2 MB / 0.9627 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/1.301, allocations: 138.6 MB / 1.098 GB, free: 2.301 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/1.302, allocations: 77.22 kB / 1.098 GB, free: 2.227 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.03067/1.332, allocations: 4.295 MB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/1.332, allocations: 8.5 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/1.332, allocations: 4 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/1.333, allocations: 170.9 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/1.333, allocations: 0 / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/1.333, allocations: 8 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001942/1.333, allocations: 31.98 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/1.333, allocations: 56.94 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/1.333, allocations: 7.906 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/1.333, allocations: 3.984 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.333, allocations: 4 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/1.334, allocations: 297.2 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/1.334, allocations: 33.7 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/1.335, allocations: 20.86 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.707e-05/1.335, allocations: 11.84 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/1.335, allocations: 34.56 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.966e-06/1.335, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001735/1.337, allocations: 0.5207 MB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.337, allocations: 51.41 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/1.337, allocations: 94.77 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/1.337, allocations: 29.7 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/1.337, allocations: 92.05 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/1.337, allocations: 35.45 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/1.337, allocations: 0 / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.337, allocations: 322.8 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/1.337, allocations: 16 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/1.337, allocations: 20 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/1.337, allocations: 27.92 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.338, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003616/1.338, allocations: 89.53 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.338, allocations: 8 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.338, allocations: 2 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/1.338, allocations: 7.984 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/1.339, allocations: 23.98 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.339, allocations: 0 / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/1.339, allocations: 8 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/1.339, allocations: 8 kB / 1.104 GB, free: 11.73 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 0.0002758/1.34, allocations: 116.6 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/1.34, allocations: 12.56 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007422/1.341, allocations: 98.12 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.341, allocations: 4 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.341, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.341, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/1.341, allocations: 335.9 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.341, allocations: 4 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/1.342, allocations: 27.97 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/1.342, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/1.342, allocations: 4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.342, allocations: 1.062 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.342, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003712/1.342, allocations: 221.3 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005982/1.343, allocations: 0.6054 MB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/1.343, allocations: 85.2 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/1.343, allocations: 3.938 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/1.343, allocations: 4.125 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/1.343, allocations: 19.89 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/1.343, allocations: 5.25 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.011e-05/1.343, allocations: 79.28 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001221/1.345, allocations: 44.05 kB / 1.106 GB, free: 9.977 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.0003175/1.345, allocations: 131.2 kB / 1.106 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002212/1.345, allocations: 63.92 kB / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.345, allocations: 0 / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/1.345, allocations: 40.78 kB / 1.106 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/1.345, allocations: 7.984 kB / 1.106 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/1.346, allocations: 224.1 kB / 1.106 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/1.347, allocations: 0.7192 MB / 1.107 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/1.347, allocations: 3.938 kB / 1.107 GB, free: 8.742 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)