Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.113 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.001342/0.001342, allocations: 181.3 kB / 164.4 MB, free: 6.867 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.859/1.859, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009833/0.0009832, allocations: 90.08 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3517/0.3527, allocations: 82.89 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.5474, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.563/1.111, allocations: 102.5 MB / 0.7211 GB, free: 9.797 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/1.111, allocations: 83.94 kB / 0.7212 GB, free: 9.715 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.009583/1.12, allocations: 3.006 MB / 0.7241 GB, free: 6.684 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/1.121, allocations: 12 kB / 0.7241 GB, free: 6.672 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/1.121, allocations: 0 / 0.7241 GB, free: 6.672 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/1.121, allocations: 166.9 kB / 0.7243 GB, free: 6.469 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/1.121, allocations: 4 kB / 0.7243 GB, free: 6.465 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/1.121, allocations: 0 / 0.7243 GB, free: 6.465 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.207e-05/1.121, allocations: 8 kB / 0.7243 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/1.121, allocations: 37.69 kB / 0.7243 GB, free: 6.414 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.121, allocations: 3.938 kB / 0.7243 GB, free: 6.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/1.121, allocations: 4 kB / 0.7243 GB, free: 6.406 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/1.121, allocations: 0 / 0.7243 GB, free: 6.406 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/1.121, allocations: 138.1 kB / 0.7245 GB, free: 6.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/1.122, allocations: 37.67 kB / 0.7245 GB, free: 6.191 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/1.122, allocations: 12.86 kB / 0.7245 GB, free: 6.176 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/1.122, allocations: 101.2 kB / 0.7246 GB, free: 6.059 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.122, allocations: 35.44 kB / 0.7247 GB, free: 6.016 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 2.245e-06/1.122, allocations: 0 / 0.7247 GB, free: 6.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001276/1.123, allocations: 350.2 kB / 0.725 GB, free: 5.621 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/1.123, allocations: 55.39 kB / 0.725 GB, free: 5.555 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/1.123, allocations: 92.91 kB / 0.7251 GB, free: 5.457 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/1.123, allocations: 25.7 kB / 0.7252 GB, free: 5.426 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/1.123, allocations: 80.14 kB / 0.7252 GB, free: 5.344 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/1.123, allocations: 15.75 kB / 0.7252 GB, free: 5.328 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/1.123, allocations: 0.8438 kB / 0.7252 GB, free: 5.328 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/1.124, allocations: 326.7 kB / 0.7256 GB, free: 5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/1.124, allocations: 16 kB / 0.7256 GB, free: 4.984 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.331e-05/1.124, allocations: 12 kB / 0.7256 GB, free: 4.973 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.351e-05/1.124, allocations: 15.98 kB / 0.7256 GB, free: 4.957 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/1.124, allocations: 0 / 0.7256 GB, free: 4.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001375/1.124, allocations: 65.67 kB / 0.7257 GB, free: 4.887 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.124, allocations: 11.94 kB / 0.7257 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.124, allocations: 0 / 0.7257 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/1.124, allocations: 3.938 kB / 0.7257 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/1.124, allocations: 32.05 kB / 0.7257 GB, free: 4.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.124, allocations: 0 / 0.7257 GB, free: 4.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/1.124, allocations: 15.89 kB / 0.7257 GB, free: 4.824 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/1.124, allocations: 0 / 0.7257 GB, free: 4.824 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.281e-05/1.124, allocations: 101 kB / 0.7258 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/1.124, allocations: 4 kB / 0.7258 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/1.124, allocations: 12.05 kB / 0.7258 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.124, allocations: 3.906 kB / 0.7258 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.124, allocations: 0 / 0.7258 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.124, allocations: 4 kB / 0.7258 GB, free: 4.699 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/1.125, allocations: 307.9 kB / 0.7261 GB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.125, allocations: 0 / 0.7261 GB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/1.125, allocations: 28.02 kB / 0.7262 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/1.125, allocations: 7.906 kB / 0.7262 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/1.125, allocations: 0 / 0.7262 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.125, allocations: 0 / 0.7262 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.125, allocations: 3.984 kB / 0.7262 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002915/1.126, allocations: 202 kB / 0.7264 GB, free: 4.09 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004105/1.126, allocations: 0.5885 MB / 0.7269 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/1.126, allocations: 85.09 kB / 0.727 GB, free: 3.371 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/1.126, allocations: 4.094 kB / 0.727 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/1.126, allocations: 16.12 kB / 0.727 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/1.126, allocations: 7.984 kB / 0.7271 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/1.126, allocations: 0 / 0.7271 GB, free: 3.344 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.458e-05/1.126, allocations: 79.66 kB / 0.7271 GB, free: 3.266 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000844/1.127, allocations: 8 kB / 0.7271 GB, free: 3.258 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0002024/1.127, allocations: 115.2 kB / 0.7272 GB, free: 3.133 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/1.128, allocations: 41.02 kB / 0.7273 GB, free: 3.094 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.128, allocations: 0 / 0.7273 GB, free: 3.094 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/1.128, allocations: 23.92 kB / 0.7273 GB, free: 3.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/1.128, allocations: 8 kB / 0.7273 GB, free: 3.062 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/1.129, allocations: 181.6 kB / 0.7275 GB, free: 2.859 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/1.129, allocations: 0.7036 MB / 0.7282 GB, free: 2.129 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/1.129, allocations: 4 kB / 0.7282 GB, free: 2.125 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)