Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_dp_DerivativeCheck,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.636/1.636, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001067/0.001067, allocations: 181.3 kB / 366.3 MB, free: 1.98 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.603/1.603, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.001057/0.001057, allocations: 80.17 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3543/0.3554, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8561/1.212, allocations: 116.3 MB / 0.9727 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/1.41, allocations: 138.9 MB / 1.108 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.41, allocations: 80.45 kB / 1.108 GB, free: 9.449 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01274/1.423, allocations: 3.967 MB / 1.112 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.423, allocations: 8 kB / 1.112 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/1.423, allocations: 11.89 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/1.423, allocations: 167.1 kB / 1.112 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/1.423, allocations: 0.9375 kB / 1.112 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/1.423, allocations: 0 / 1.112 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.23e-05/1.423, allocations: 11.94 kB / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/1.423, allocations: 41.69 kB / 1.113 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/1.423, allocations: 3.906 kB / 1.113 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/1.423, allocations: 0 / 1.113 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.423, allocations: 4 kB / 1.113 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/1.424, allocations: 142.2 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/1.424, allocations: 25.72 kB / 1.113 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/1.424, allocations: 20.98 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/1.424, allocations: 1.594 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/1.424, allocations: 30.56 kB / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 3.196e-06/1.424, allocations: 0 / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005763/1.424, allocations: 278.2 kB / 1.113 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/1.424, allocations: 59.41 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/1.425, allocations: 89 kB / 1.113 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.425, allocations: 33.64 kB / 1.113 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/1.425, allocations: 80.14 kB / 1.113 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/1.425, allocations: 23.64 kB / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/1.425, allocations: 0 / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.425, allocations: 314.8 kB / 1.114 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/1.425, allocations: 11.94 kB / 1.114 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/1.425, allocations: 13.88 kB / 1.114 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/1.425, allocations: 11.98 kB / 1.114 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/1.425, allocations: 0 / 1.114 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000105/1.425, allocations: 62.06 kB / 1.114 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.425, allocations: 7.906 kB / 1.114 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.425, allocations: 1.219 kB / 1.114 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.425, allocations: 0 / 1.114 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/1.425, allocations: 8 kB / 1.114 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/1.425, allocations: 4 kB / 1.114 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/1.425, allocations: 0 / 1.114 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/1.425, allocations: 0 / 1.114 GB, free: 3.824 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 (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 7.732e-05/1.425, allocations: 108.9 kB / 1.114 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/1.425, allocations: 11.89 kB / 1.114 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/1.425, allocations: 69.56 kB / 1.114 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.425, allocations: 0 / 1.114 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.425, allocations: 0 / 1.114 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/1.425, allocations: 0 / 1.114 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/1.426, allocations: 291.9 kB / 1.114 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.426, allocations: 6.188 kB / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/1.426, allocations: 15.98 kB / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.426, allocations: 0 / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/1.426, allocations: 0 / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.426, allocations: 192 / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.426, allocations: 4 kB / 1.114 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001977/1.426, allocations: 190 kB / 1.114 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002779/1.426, allocations: 0.565 MB / 1.115 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/1.427, allocations: 81.02 kB / 1.115 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/1.427, allocations: 4 kB / 1.115 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/1.427, allocations: 128 / 1.115 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/1.427, allocations: 7.984 kB / 1.115 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/1.427, allocations: 7.938 kB / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.675e-05/1.427, allocations: 79.28 kB / 1.115 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000956/1.428, allocations: 24 kB / 1.115 GB, free: 2.242 MB / 0.7136 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.0002309/1.428, allocations: 135.1 kB / 1.115 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.512e-05/1.428, allocations: 28 kB / 1.115 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.428, allocations: 0 / 1.115 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-05/1.428, allocations: 23.94 kB / 1.115 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/1.428, allocations: 3.906 kB / 1.115 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/1.429, allocations: 132.7 kB / 1.115 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/1.429, allocations: 0.6997 MB / 1.116 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.429, allocations: 0 / 1.116 GB, free: 1.168 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)