Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.7267/0.7267, 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.00127/0.00127, allocations: 177.3 kB / 164.4 MB, free: 6.91 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.771/1.771, allocations: 205.1 MB / 399.1 MB, free: 6.105 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.001286/0.001286, allocations: 87.23 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3449/0.3463, allocations: 82.9 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.5257, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5615/1.087, allocations: 102.2 MB / 0.7208 GB, free: 10.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.088, allocations: 79.94 kB / 0.7209 GB, free: 10.01 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00803/1.096, allocations: 2.4 MB / 0.7233 GB, free: 7.578 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/1.096, allocations: 8 kB / 0.7233 GB, free: 7.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/1.096, allocations: 0 / 0.7233 GB, free: 7.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/1.096, allocations: 163.9 kB / 0.7234 GB, free: 7.371 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/1.096, allocations: 3.906 kB / 0.7234 GB, free: 7.367 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/1.096, allocations: 4 kB / 0.7234 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.568e-05/1.096, allocations: 8 kB / 0.7234 GB, free: 7.355 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.666e-05/1.096, allocations: 33.69 kB / 0.7235 GB, free: 7.316 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.096, allocations: 0 / 0.7235 GB, free: 7.316 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.096, allocations: 0 / 0.7235 GB, free: 7.316 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.096, allocations: 0 / 0.7235 GB, free: 7.316 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/1.096, allocations: 126.2 kB / 0.7236 GB, free: 7.156 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/1.097, allocations: 22.61 kB / 0.7236 GB, free: 7.125 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/1.097, allocations: 17.91 kB / 0.7236 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/1.097, allocations: 97.03 kB / 0.7237 GB, free: 6.992 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.097, allocations: 34.47 kB / 0.7238 GB, free: 6.949 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/1.097, allocations: 3.938 kB / 0.7238 GB, free: 6.945 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0005828/1.097, allocations: 73.66 kB / 0.7238 GB, free: 6.867 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/1.098, allocations: 51.41 kB / 0.7239 GB, free: 6.805 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/1.098, allocations: 92.98 kB / 0.724 GB, free: 6.707 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/1.098, allocations: 25.7 kB / 0.724 GB, free: 6.676 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/1.098, allocations: 84.3 kB / 0.7241 GB, free: 6.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/1.098, allocations: 7.906 kB / 0.7241 GB, free: 6.582 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/1.098, allocations: 0 / 0.7241 GB, free: 6.582 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/1.098, allocations: 310.8 kB / 0.7244 GB, free: 6.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/1.098, allocations: 4 kB / 0.7244 GB, free: 6.266 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/1.098, allocations: 9.031 kB / 0.7244 GB, free: 6.258 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/1.098, allocations: 7.984 kB / 0.7244 GB, free: 6.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.098, allocations: 0 / 0.7244 GB, free: 6.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.962e-05/1.098, allocations: 45.7 kB / 0.7244 GB, free: 6.199 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.098, allocations: 11.91 kB / 0.7245 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.098, allocations: 0 / 0.7245 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.098, allocations: 0 / 0.7245 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.1, allocations: 143.9 kB / 0.7246 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/1.103, allocations: 1.39 MB / 0.726 GB, free: 4.547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.951e-05/1.103, allocations: 12.12 kB / 0.726 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/1.103, allocations: 0 / 0.726 GB, free: 4.535 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: m_flow:VARIABLE(unit = "kg/s" ) "Mass flow rate" type: Real 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/1.103, allocations: 107.9 kB / 0.7261 GB, free: 4.426 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/1.103, allocations: 7.891 kB / 0.7261 GB, free: 4.418 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.452e-05/1.103, allocations: 7.312 kB / 0.7261 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.103, allocations: 0 / 0.7261 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.103, allocations: 0 / 0.7261 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.103, allocations: 3.938 kB / 0.7261 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/1.103, allocations: 142.1 kB / 0.7262 GB, free: 4.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.103, allocations: 0 / 0.7262 GB, free: 4.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.104, allocations: 151.8 kB / 0.7264 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.104, allocations: 0 / 0.7264 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.104, allocations: 3.984 kB / 0.7264 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00265/1.107, allocations: 1.386 MB / 0.7277 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.107, allocations: 96 / 0.7277 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001024/1.107, allocations: 73.06 kB / 0.7278 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002528/1.108, allocations: 457.4 kB / 0.7282 GB, free: 2.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/1.108, allocations: 81.02 kB / 0.7283 GB, free: 1.922 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/1.108, allocations: 4.062 kB / 0.7283 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/1.108, allocations: 4 kB / 0.7283 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/1.108, allocations: 7.969 kB / 0.7283 GB, free: 1.906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-06/1.108, allocations: 4 kB / 0.7283 GB, free: 1.902 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.053e-05/1.108, allocations: 75.28 kB / 0.7284 GB, free: 1.828 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000773/1.109, allocations: 8 kB / 0.7284 GB, free: 1.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001905/1.109, allocations: 106.4 kB / 0.7285 GB, free: 1.711 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/1.111, allocations: 203.8 kB / 0.7287 GB, free: 1.512 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.111, allocations: 0 / 0.7287 GB, free: 1.512 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/1.112, allocations: 215.8 kB / 0.7289 GB, free: 1.301 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/1.113, allocations: 3.906 kB / 0.7289 GB, free: 1.297 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.114, allocations: 176 kB / 0.7291 GB, free: 1.102 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/1.114, allocations: 0.6841 MB / 0.7297 GB, free: 400 kB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/1.114, allocations: 0 / 0.7297 GB, free: 400 kB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)