Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_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/Complex 4.0.0+maint.om/package.mo): time 0.004971/0.004971, allocations: 186.3 kB / 7.462 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7287/0.7287, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009951/0.000995, allocations: 100.5 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4853/0.4864, allocations: 88.43 MB / 0.5529 GB, free: 89.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.6752, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.184/4.86, allocations: 1.908 GB / 2.541 GB, free: 36.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/4.86, allocations: 91.94 kB / 2.541 GB, free: 36.42 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 6.611/11.47, allocations: 1.676 GB / 4.217 GB, free: 73.26 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/11.47, allocations: 11.78 kB / 4.217 GB, free: 73.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007038/11.48, allocations: 0.8879 MB / 4.218 GB, free: 73.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009868/11.49, allocations: 2.725 MB / 4.221 GB, free: 72.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/11.49, allocations: 43.38 kB / 4.221 GB, free: 72.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006884/11.49, allocations: 88.91 kB / 4.221 GB, free: 72.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003541/11.49, allocations: 1.238 MB / 4.222 GB, free: 72.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/11.5, allocations: 1.409 MB / 4.223 GB, free: 72.51 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-05/11.5, allocations: 3.906 kB / 4.223 GB, free: 72.51 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/11.5, allocations: 0 / 4.223 GB, free: 72.51 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/11.5, allocations: 49.08 kB / 4.223 GB, free: 72.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/11.51, allocations: 7.608 MB / 4.231 GB, free: 68.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/11.51, allocations: 0.8697 MB / 4.232 GB, free: 68.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008871/11.51, allocations: 0.5404 MB / 4.232 GB, free: 68.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003503/11.51, allocations: 279.5 kB / 4.232 GB, free: 68.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/11.51, allocations: 43.78 kB / 4.233 GB, free: 68.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=78): time 3.958e-06/11.51, allocations: 2.078 kB / 4.233 GB, free: 68.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78): time 0.004694/11.52, allocations: 1.142 MB / 4.234 GB, free: 68.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/11.52, allocations: 60.47 kB / 4.234 GB, free: 68.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/11.52, allocations: 1.307 MB / 4.235 GB, free: 67.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/11.52, allocations: 29.67 kB / 4.235 GB, free: 67.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007077/11.52, allocations: 0.6253 MB / 4.236 GB, free: 67.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003923/11.52, allocations: 260.3 kB / 4.236 GB, free: 67.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-05/11.52, allocations: 0 / 4.236 GB, free: 67.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000122/11.52, allocations: 348.7 kB / 4.236 GB, free: 67.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/11.52, allocations: 351.8 kB / 4.237 GB, free: 67.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008484/11.53, allocations: 0.7639 MB / 4.237 GB, free: 66.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/11.53, allocations: 0.5142 MB / 4.238 GB, free: 66.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/11.53, allocations: 3.844 kB / 4.238 GB, free: 66.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003665/11.53, allocations: 1.345 MB / 4.239 GB, free: 66.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009916/11.53, allocations: 3.845 MB / 4.243 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/11.53, allocations: 8.469 kB / 4.243 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/11.53, allocations: 110.2 kB / 4.243 GB, free: 62.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/11.53, allocations: 268.6 kB / 4.243 GB, free: 62.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/11.54, allocations: 2.229 MB / 4.245 GB, free: 60.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/11.54, allocations: 168 kB / 4.246 GB, free: 60.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/11.54, allocations: 57.38 kB / 4.246 GB, free: 60.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/11.54, allocations: 6.156 kB / 4.246 GB, free: 60.59 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002833/11.54, allocations: 1.046 MB / 4.247 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.442e-05/11.54, allocations: 9.406 kB / 4.247 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000318/11.54, allocations: 101.7 kB / 4.247 GB, free: 60.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/11.54, allocations: 245.4 kB / 4.247 GB, free: 60.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/11.55, allocations: 1.645 MB / 4.249 GB, free: 59.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/11.55, allocations: 137.1 kB / 4.249 GB, free: 59.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/11.55, allocations: 56.06 kB / 4.249 GB, free: 59.32 MB / 0.7292 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004856/11.55, allocations: 144.2 kB / 4.249 GB, free: 59.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006818/11.55, allocations: 188.1 kB / 4.249 GB, free: 59.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/11.55, allocations: 1.104 MB / 4.25 GB, free: 59.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/11.55, allocations: 7.719 kB / 4.25 GB, free: 59.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/11.55, allocations: 3.062 kB / 4.25 GB, free: 59.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002058/11.55, allocations: 0.9178 MB / 4.251 GB, free: 58.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00732/11.56, allocations: 2.648 MB / 4.254 GB, free: 58.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/11.56, allocations: 0 / 4.254 GB, free: 58.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/11.56, allocations: 200.5 kB / 4.254 GB, free: 58.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003302/11.56, allocations: 92.42 kB / 4.254 GB, free: 58.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-05/11.56, allocations: 15.98 kB / 4.254 GB, free: 58.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/11.57, allocations: 2.218 MB / 4.256 GB, free: 56.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/11.57, allocations: 5.844 kB / 4.256 GB, free: 56.54 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003453/11.57, allocations: 1.68 MB / 4.258 GB, free: 56.13 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004846/11.57, allocations: 2.755 MB / 4.26 GB, free: 55.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/11.58, allocations: 358.7 kB / 4.261 GB, free: 55.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000722/11.58, allocations: 3.031 kB / 4.261 GB, free: 55.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/11.58, allocations: 108.8 kB / 4.261 GB, free: 55.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/11.58, allocations: 41.48 kB / 4.261 GB, free: 55.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/11.58, allocations: 36.53 kB / 4.261 GB, free: 55.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.002604/11.58, allocations: 0.9906 MB / 4.262 GB, free: 55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01071/11.59, allocations: 2.301 MB / 4.264 GB, free: 54.84 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 75 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007597/11.6, allocations: 4.39 MB / 4.268 GB, free: 53.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004025/11.6, allocations: 1.69 MB / 4.27 GB, free: 52.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/11.6, allocations: 0 / 4.27 GB, free: 52.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/11.6, allocations: 0.5155 MB / 4.271 GB, free: 52.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005218/11.61, allocations: 0.8354 MB / 4.271 GB, free: 52.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008629/11.62, allocations: 2.758 MB / 4.274 GB, free: 52.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002746/11.62, allocations: 1.776 MB / 4.276 GB, free: 51.32 MB / 0.7292 GB Notification: Performance of SimCode: time 1.253e-06/11.62, allocations: 3.531 kB / 4.276 GB, free: 51.32 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)