Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_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.003082/0.003082, allocations: 177.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8324/0.8324, 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.55/1.55, 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.00114/0.00114, allocations: 93.61 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4294/0.4306, allocations: 88.43 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.6191, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.765/5.384, allocations: 1.908 GB / 2.541 GB, free: 38.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/5.385, allocations: 91.95 kB / 2.541 GB, free: 38.38 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.736/12.12, allocations: 1.676 GB / 4.217 GB, free: 71.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/12.12, allocations: 7.594 kB / 4.217 GB, free: 71.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006992/12.13, allocations: 0.8908 MB / 4.218 GB, free: 71.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0095/12.14, allocations: 2.725 MB / 4.221 GB, free: 70.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/12.14, allocations: 43.62 kB / 4.221 GB, free: 70.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/12.14, allocations: 97.75 kB / 4.221 GB, free: 70.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002661/12.14, allocations: 1.236 MB / 4.222 GB, free: 70.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/12.14, allocations: 1.406 MB / 4.223 GB, free: 70.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/12.14, allocations: 4.844 kB / 4.223 GB, free: 70.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/12.14, allocations: 3.562 kB / 4.223 GB, free: 70.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/12.14, allocations: 49.64 kB / 4.223 GB, free: 70.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/12.16, allocations: 7.595 MB / 4.231 GB, free: 66.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/12.16, allocations: 0.8706 MB / 4.232 GB, free: 66.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009487/12.16, allocations: 0.5393 MB / 4.232 GB, free: 66.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004416/12.16, allocations: 280.8 kB / 4.232 GB, free: 66.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/12.16, allocations: 38.66 kB / 4.232 GB, free: 66.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=78): time 3.406e-06/12.16, allocations: 3.125 kB / 4.232 GB, free: 66.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78): time 0.004205/12.16, allocations: 1.143 MB / 4.234 GB, free: 66.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/12.16, allocations: 62.09 kB / 4.234 GB, free: 66.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/12.17, allocations: 1.31 MB / 4.235 GB, free: 65.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/12.17, allocations: 28.92 kB / 4.235 GB, free: 65.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/12.17, allocations: 0.6236 MB / 4.236 GB, free: 65.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/12.17, allocations: 257.1 kB / 4.236 GB, free: 65.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/12.17, allocations: 0 / 4.236 GB, free: 65.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001009/12.17, allocations: 351.9 kB / 4.236 GB, free: 65.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/12.17, allocations: 354.9 kB / 4.237 GB, free: 65.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007735/12.17, allocations: 0.7641 MB / 4.237 GB, free: 64.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/12.17, allocations: 0.5134 MB / 4.238 GB, free: 64.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/12.17, allocations: 6.375 kB / 4.238 GB, free: 64.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003115/12.17, allocations: 1.351 MB / 4.239 GB, free: 64.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009979/12.17, allocations: 3.848 MB / 4.243 GB, free: 60.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/12.17, allocations: 9.188 kB / 4.243 GB, free: 60.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/12.17, allocations: 108.5 kB / 4.243 GB, free: 60.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/12.17, allocations: 268.7 kB / 4.243 GB, free: 60.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/12.18, allocations: 2.226 MB / 4.245 GB, free: 58.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/12.18, allocations: 167 kB / 4.246 GB, free: 58.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/12.18, allocations: 59.09 kB / 4.246 GB, free: 58.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.186e-06/12.18, allocations: 5.25 kB / 4.246 GB, free: 58.49 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002531/12.18, allocations: 1.037 MB / 4.247 GB, free: 58.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/12.18, allocations: 12.19 kB / 4.247 GB, free: 58.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/12.18, allocations: 106.3 kB / 4.247 GB, free: 58.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/12.18, allocations: 246.2 kB / 4.247 GB, free: 58.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/12.19, allocations: 1.643 MB / 4.249 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/12.19, allocations: 140.6 kB / 4.249 GB, free: 57.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/12.19, allocations: 56.83 kB / 4.249 GB, free: 57.22 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.0004284/12.19, allocations: 145 kB / 4.249 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/12.19, allocations: 183.2 kB / 4.249 GB, free: 57.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/12.19, allocations: 1.103 MB / 4.25 GB, free: 56.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/12.19, allocations: 12.06 kB / 4.25 GB, free: 56.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/12.19, allocations: 0 / 4.25 GB, free: 56.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001883/12.19, allocations: 0.9168 MB / 4.251 GB, free: 56.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005562/12.2, allocations: 2.648 MB / 4.254 GB, free: 56.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/12.2, allocations: 2.531 kB / 4.254 GB, free: 56.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/12.2, allocations: 197.8 kB / 4.254 GB, free: 56.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/12.2, allocations: 99.53 kB / 4.254 GB, free: 56.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/12.2, allocations: 8.234 kB / 4.254 GB, free: 56.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/12.2, allocations: 2.214 MB / 4.256 GB, free: 54.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/12.2, allocations: 2.281 kB / 4.256 GB, free: 54.44 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003148/12.21, allocations: 1.683 MB / 4.258 GB, free: 54.04 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004523/12.21, allocations: 2.759 MB / 4.26 GB, free: 53.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/12.21, allocations: 356.7 kB / 4.261 GB, free: 53.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/12.21, allocations: 2.688 kB / 4.261 GB, free: 53.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/12.21, allocations: 108.9 kB / 4.261 GB, free: 53.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/12.21, allocations: 46.55 kB / 4.261 GB, free: 53.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/12.21, allocations: 36.52 kB / 4.261 GB, free: 53.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001663/12.22, allocations: 0.9879 MB / 4.262 GB, free: 52.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008584/12.22, allocations: 2.297 MB / 4.264 GB, free: 52.74 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.006747/12.23, allocations: 4.405 MB / 4.268 GB, free: 51.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003619/12.23, allocations: 1.686 MB / 4.27 GB, free: 50.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/12.23, allocations: 6.531 kB / 4.27 GB, free: 50.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008239/12.24, allocations: 0.5047 MB / 4.271 GB, free: 50.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004557/12.24, allocations: 0.8348 MB / 4.271 GB, free: 50.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006231/12.25, allocations: 2.756 MB / 4.274 GB, free: 49.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/12.25, allocations: 1.775 MB / 4.276 GB, free: 49.22 MB / 0.7292 GB Notification: Performance of SimCode: time 1.192e-06/12.25, allocations: 1.531 kB / 4.276 GB, free: 49.22 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)