Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.502/2.502, allocations: 284.8 MB / 292.1 MB, free: 10.84 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.001657/0.001657, allocations: 173.3 kB / 360.3 MB, free: 7.559 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.928/1.928, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001225/0.001225, allocations: 82.06 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3061/0.3074, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.708/1.015, allocations: 115.3 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2648/1.28, allocations: 137.9 MB / 1.097 GB, free: 2.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004764/1.281, allocations: 76.7 kB / 1.098 GB, free: 2.855 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.03392/1.315, allocations: 4.47 MB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.315, allocations: 9.375 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/1.315, allocations: 7.906 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/1.315, allocations: 163.5 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/1.315, allocations: 4 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/1.315, allocations: 4.672 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001265/1.315, allocations: 25.59 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/1.315, allocations: 46.73 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/1.315, allocations: 7.375 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/1.315, allocations: 0.7812 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.316, allocations: 0 / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/1.316, allocations: 138.9 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/1.316, allocations: 42.55 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/1.316, allocations: 21.42 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/1.316, allocations: 0.6875 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.316, allocations: 39.38 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.687e-06/1.316, allocations: 3.938 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001285/1.317, allocations: 0.5076 MB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/1.317, allocations: 51.41 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/1.318, allocations: 97.48 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/1.318, allocations: 25.7 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/1.318, allocations: 84.14 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-05/1.318, allocations: 43.3 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/1.318, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.318, allocations: 314.8 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/1.318, allocations: 20 kB / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/1.318, allocations: 12 kB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/1.318, allocations: 23.98 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.269e-06/1.318, allocations: 4.125 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002308/1.318, allocations: 100.7 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/1.318, allocations: 4 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.318, allocations: 0 / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.318, allocations: 4 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/1.319, allocations: 19.98 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.319, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/1.319, allocations: 2.25 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/1.319, allocations: 4 kB / 1.104 GB, free: 12.39 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 9.196e-05/1.319, allocations: 116.7 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/1.319, allocations: 11.89 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/1.319, allocations: 89.17 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.319, allocations: 4.656 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.319, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.319, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/1.32, allocations: 319.9 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.32, allocations: 0 / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/1.32, allocations: 27.98 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.32, allocations: 4 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/1.32, allocations: 0.9375 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/1.32, allocations: 0 / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.32, allocations: 3.906 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003245/1.32, allocations: 203.4 kB / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005108/1.321, allocations: 0.604 MB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/1.321, allocations: 85.02 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/1.321, allocations: 0 / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/1.321, allocations: 2.516 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/1.321, allocations: 7.984 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/1.321, allocations: 7.938 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.401e-05/1.321, allocations: 79.03 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001228/1.323, allocations: 43.94 kB / 1.105 GB, free: 10.7 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.0003377/1.323, allocations: 147.2 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002131/1.323, allocations: 51.98 kB / 1.105 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.323, allocations: 4 kB / 1.105 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/1.323, allocations: 31.94 kB / 1.105 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/1.324, allocations: 0 / 1.105 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/1.324, allocations: 218 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/1.325, allocations: 0.7036 MB / 1.106 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/1.325, allocations: 0 / 1.106 GB, free: 9.504 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)