Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001367/0.001367, allocations: 192 kB / 366.3 MB, free: 1.957 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.581/1.581, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0009253/0.0009252, allocations: 98.3 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2868/0.2878, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7709/1.059, allocations: 116.3 MB / 0.9727 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/1.263, allocations: 139.1 MB / 1.108 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/1.264, allocations: 79.94 kB / 1.109 GB, free: 9.309 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01379/1.277, allocations: 4.473 MB / 1.113 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.277, allocations: 8 kB / 1.113 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/1.277, allocations: 8.562 kB / 1.113 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/1.278, allocations: 163 kB / 1.113 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/1.278, allocations: 4 kB / 1.113 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/1.278, allocations: 4 kB / 1.113 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.456e-05/1.278, allocations: 23.89 kB / 1.113 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/1.278, allocations: 41.69 kB / 1.113 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/1.278, allocations: 7.938 kB / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.278, allocations: 1.031 kB / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/1.278, allocations: 0 / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/1.278, allocations: 146.2 kB / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.016e-05/1.278, allocations: 41.62 kB / 1.113 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/1.278, allocations: 20.86 kB / 1.113 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/1.278, allocations: 0 / 1.113 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.278, allocations: 42.55 kB / 1.113 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/1.278, allocations: 0 / 1.113 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0009064/1.279, allocations: 0.5058 MB / 1.114 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/1.279, allocations: 51.41 kB / 1.114 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/1.279, allocations: 89 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/1.279, allocations: 29.7 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/1.279, allocations: 80.14 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/1.279, allocations: 44.23 kB / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/1.28, allocations: 0 / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.28, allocations: 318.8 kB / 1.114 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.502e-05/1.28, allocations: 20.12 kB / 1.114 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/1.28, allocations: 16 kB / 1.114 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/1.28, allocations: 23.98 kB / 1.115 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/1.28, allocations: 0 / 1.115 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001566/1.28, allocations: 89.22 kB / 1.115 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.28, allocations: 7.938 kB / 1.115 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/1.28, allocations: 0 / 1.115 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.28, allocations: 4.656 kB / 1.115 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/1.28, allocations: 23.92 kB / 1.115 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.28, allocations: 0 / 1.115 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/1.28, allocations: 4 kB / 1.115 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/1.28, allocations: 5.484 kB / 1.115 GB, free: 2.781 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 7.367e-05/1.28, allocations: 105 kB / 1.115 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/1.28, allocations: 7.906 kB / 1.115 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/1.281, allocations: 96.28 kB / 1.115 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.281, allocations: 4 kB / 1.115 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.281, allocations: 0 / 1.115 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.281, allocations: 3.984 kB / 1.115 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/1.281, allocations: 321.3 kB / 1.115 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.281, allocations: 0 / 1.115 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/1.281, allocations: 31.92 kB / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/1.281, allocations: 0 / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/1.281, allocations: 1.312 kB / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.281, allocations: 0 / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.281, allocations: 3.906 kB / 1.115 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002381/1.281, allocations: 207.4 kB / 1.115 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003748/1.282, allocations: 0.5994 MB / 1.116 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/1.282, allocations: 85.02 kB / 1.116 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/1.282, allocations: 3.984 kB / 1.116 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/1.282, allocations: 0 / 1.116 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/1.282, allocations: 4.328 kB / 1.116 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/1.282, allocations: 4 kB / 1.116 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.373e-05/1.282, allocations: 87.33 kB / 1.116 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009923/1.283, allocations: 47.94 kB / 1.116 GB, free: 1.078 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.0004242/1.283, allocations: 143.1 kB / 1.116 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001823/1.284, allocations: 55.94 kB / 1.116 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.284, allocations: 5.781 kB / 1.116 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/1.284, allocations: 24 kB / 1.116 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/1.284, allocations: 3.984 kB / 1.116 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000686/1.285, allocations: 219.8 kB / 1.117 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004273/1.285, allocations: 0.7075 MB / 1.117 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/1.285, allocations: 0 / 1.117 GB, free: 15.87 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)