Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7153/0.7153, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 185.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 98.98 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3605/0.3617, allocations: 82.9 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.5499, allocations: 76.74 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5705/1.12, allocations: 102.6 MB / 0.7212 GB, free: 9.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/1.121, allocations: 79.94 kB / 0.7213 GB, free: 9.691 MB / 490.7 MB 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.01303/1.134, allocations: 4.266 MB / 0.7255 GB, free: 5.395 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/1.134, allocations: 15.92 kB / 0.7255 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/1.134, allocations: 4 kB / 0.7255 GB, free: 5.375 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/1.134, allocations: 163 kB / 0.7256 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/1.134, allocations: 0 / 0.7256 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/1.134, allocations: 7.938 kB / 0.7256 GB, free: 5.168 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.504e-05/1.134, allocations: 4 kB / 0.7256 GB, free: 5.164 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.137e-05/1.134, allocations: 37.69 kB / 0.7257 GB, free: 5.121 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.134, allocations: 8 kB / 0.7257 GB, free: 5.113 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.134, allocations: 0 / 0.7257 GB, free: 5.113 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.134, allocations: 0 / 0.7257 GB, free: 5.113 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/1.135, allocations: 146.1 kB / 0.7258 GB, free: 4.934 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/1.135, allocations: 25.72 kB / 0.7259 GB, free: 4.902 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/1.135, allocations: 20.98 kB / 0.7259 GB, free: 4.879 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/1.135, allocations: 97.09 kB / 0.726 GB, free: 4.766 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/1.135, allocations: 34.5 kB / 0.726 GB, free: 4.723 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/1.135, allocations: 0 / 0.726 GB, free: 4.723 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001356/1.137, allocations: 382.3 kB / 0.7264 GB, free: 4.297 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/1.137, allocations: 51.41 kB / 0.7264 GB, free: 4.234 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/1.137, allocations: 92.91 kB / 0.7265 GB, free: 4.137 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/1.137, allocations: 33.64 kB / 0.7265 GB, free: 4.098 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/1.137, allocations: 84.14 kB / 0.7266 GB, free: 4.012 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/1.137, allocations: 19.73 kB / 0.7266 GB, free: 3.992 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/1.137, allocations: 0 / 0.7266 GB, free: 3.992 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/1.137, allocations: 318.8 kB / 0.7269 GB, free: 3.672 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/1.137, allocations: 12 kB / 0.7269 GB, free: 3.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/1.137, allocations: 15.98 kB / 0.727 GB, free: 3.645 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.226e-05/1.137, allocations: 12.94 kB / 0.727 GB, free: 3.633 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/1.137, allocations: 4 kB / 0.727 GB, free: 3.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001464/1.137, allocations: 69.67 kB / 0.727 GB, free: 3.555 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.137, allocations: 4 kB / 0.727 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.137, allocations: 0 / 0.727 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.137, allocations: 4 kB / 0.7271 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/1.138, allocations: 27.97 kB / 0.7271 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.138, allocations: 240 / 0.7271 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/1.138, allocations: 23.89 kB / 0.7271 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/1.138, allocations: 7.938 kB / 0.7271 GB, free: 3.488 MB / 490.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 (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 8.38e-05/1.138, allocations: 108.9 kB / 0.7272 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/1.138, allocations: 64 / 0.7272 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/1.138, allocations: 8.062 kB / 0.7272 GB, free: 3.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.138, allocations: 11.84 kB / 0.7272 GB, free: 3.359 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.138, allocations: 3.984 kB / 0.7272 GB, free: 3.355 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.138, allocations: 4 kB / 0.7272 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/1.139, allocations: 319.9 kB / 0.7275 GB, free: 2.992 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.139, allocations: 0 / 0.7275 GB, free: 2.992 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/1.139, allocations: 36 kB / 0.7276 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/1.139, allocations: 3.906 kB / 0.7276 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/1.139, allocations: 0 / 0.7276 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/1.139, allocations: 7.984 kB / 0.7276 GB, free: 2.945 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.139, allocations: 0 / 0.7276 GB, free: 2.945 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002608/1.139, allocations: 202 kB / 0.7278 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004638/1.14, allocations: 0.5962 MB / 0.7284 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/1.14, allocations: 81.09 kB / 0.7284 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/1.14, allocations: 7.906 kB / 0.7285 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/1.14, allocations: 20.05 kB / 0.7285 GB, free: 1.973 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/1.14, allocations: 4.062 kB / 0.7285 GB, free: 1.969 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/1.14, allocations: 7.984 kB / 0.7285 GB, free: 1.961 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.341e-05/1.14, allocations: 75.28 kB / 0.7286 GB, free: 1.887 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008406/1.141, allocations: 12 kB / 0.7286 GB, free: 1.875 MB / 490.7 MB 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.0001655/1.141, allocations: 107.2 kB / 0.7287 GB, free: 1.758 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/1.141, allocations: 44.11 kB / 0.7287 GB, free: 1.715 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.141, allocations: 4 kB / 0.7287 GB, free: 1.711 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.486e-05/1.141, allocations: 27.98 kB / 0.7287 GB, free: 1.684 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/1.141, allocations: 3 kB / 0.7287 GB, free: 1.684 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008466/1.142, allocations: 226.2 kB / 0.729 GB, free: 1.438 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/1.143, allocations: 0.7074 MB / 0.7296 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/1.143, allocations: 0 / 0.7296 GB, free: 0.7031 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)