Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 184.7 kB / 7.799 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4513/0.4513, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.4 MB / 342.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 102.4 kB / 415.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1697/0.1708, allocations: 78.45 MB / 494 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.4924, allocations: 72.31 MB / 0.553 GB, free: 44.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.612, allocations: 101.7 MB / 0.6523 GB, free: 6.949 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.6124, allocations: 87.7 kB / 0.6524 GB, free: 6.867 MB / 474.7 MB 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.01382/0.6262, allocations: 4.531 MB / 0.6568 GB, free: 2.297 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6263, allocations: 8 kB / 0.6568 GB, free: 2.289 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.6263, allocations: 4 kB / 0.6568 GB, free: 2.285 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.6265, allocations: 167 kB / 0.657 GB, free: 2.082 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.6265, allocations: 3.906 kB / 0.657 GB, free: 2.078 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.6265, allocations: 7.938 kB / 0.657 GB, free: 2.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.277e-05/0.6266, allocations: 16 kB / 0.657 GB, free: 2.055 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.437e-05/0.6267, allocations: 45.69 kB / 0.657 GB, free: 2.004 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6267, allocations: 0 / 0.657 GB, free: 2.004 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.6268, allocations: 4 kB / 0.657 GB, free: 2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.6268, allocations: 1.781 kB / 0.657 GB, free: 2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.6269, allocations: 146.1 kB / 0.6572 GB, free: 1.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.627, allocations: 33.72 kB / 0.6572 GB, free: 1.781 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.6271, allocations: 28.84 kB / 0.6572 GB, free: 1.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.6271, allocations: 0 / 0.6572 GB, free: 1.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.6271, allocations: 34.5 kB / 0.6573 GB, free: 1.707 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.6271, allocations: 4 kB / 0.6573 GB, free: 1.703 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009199/0.6281, allocations: 0.52 MB / 0.6578 GB, free: 1.094 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.6281, allocations: 51.41 kB / 0.6578 GB, free: 1.031 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.6282, allocations: 89 kB / 0.6579 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.6282, allocations: 25.7 kB / 0.6579 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.6283, allocations: 84.14 kB / 0.658 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.6283, allocations: 39.39 kB / 0.658 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.6283, allocations: 0 / 0.658 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.6284, allocations: 323 kB / 0.6584 GB, free: 468 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.6285, allocations: 21.03 kB / 0.6584 GB, free: 448 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.6285, allocations: 16 kB / 0.6584 GB, free: 432 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.688e-05/0.6286, allocations: 20 kB / 0.6584 GB, free: 412 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6286, allocations: 0 / 0.6584 GB, free: 412 kB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001503/0.6288, allocations: 96.02 kB / 0.6585 GB, free: 312 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6288, allocations: 4 kB / 0.6585 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6288, allocations: 0 / 0.6585 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6288, allocations: 4 kB / 0.6585 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.6289, allocations: 19.98 kB / 0.6585 GB, free: 284 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6289, allocations: 4 kB / 0.6585 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.629, allocations: 0 / 0.6585 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.629, allocations: 4.75 kB / 0.6585 GB, free: 276 kB / 474.7 MB 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.398e-05/0.6291, allocations: 108.8 kB / 0.6586 GB, free: 160 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.6291, allocations: 4 kB / 0.6586 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.6293, allocations: 97.58 kB / 0.6587 GB, free: 48 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.6293, allocations: 7.984 kB / 0.6587 GB, free: 40 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6293, allocations: 0 / 0.6587 GB, free: 40 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6293, allocations: 4 kB / 0.6587 GB, free: 36 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.6298, allocations: 315 kB / 0.659 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6298, allocations: 4.469 kB / 0.6591 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.6299, allocations: 23.98 kB / 0.6591 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6299, allocations: 0 / 0.6591 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.6299, allocations: 4 kB / 0.6591 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6299, allocations: 0 / 0.6591 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6299, allocations: 0 / 0.6591 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002314/0.6302, allocations: 209.1 kB / 0.6593 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003724/0.6306, allocations: 0.5984 MB / 0.6599 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.6306, allocations: 85.02 kB / 0.6599 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.6306, allocations: 0 / 0.6599 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.6307, allocations: 7.984 kB / 0.66 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.6308, allocations: 8.125 kB / 0.66 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.6308, allocations: 4 kB / 0.66 GB, free: 14.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.099e-05/0.6308, allocations: 76.31 kB / 0.66 GB, free: 14.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008961/0.6317, allocations: 47.92 kB / 0.6601 GB, free: 14.57 MB / 490.7 MB 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.000239/0.632, allocations: 143.1 kB / 0.6602 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.6321, allocations: 52.16 kB / 0.6603 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6321, allocations: 0 / 0.6603 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.6322, allocations: 37.8 kB / 0.6603 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.6323, allocations: 12.47 kB / 0.6603 GB, free: 14.33 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.6328, allocations: 213.3 kB / 0.6605 GB, free: 14.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.6331, allocations: 0.7131 MB / 0.6612 GB, free: 13.36 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6332, allocations: 0 / 0.6612 GB, free: 13.36 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)