Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_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.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7057/0.7057, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.00141/0.001411, allocations: 189.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.686/1.686, allocations: 205.1 MB / 399.1 MB, free: 6.16 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: 87.62 kB / 476.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3338/0.335, allocations: 82.88 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.5159, allocations: 76.74 MB / 0.621 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.444/5.96, allocations: 2.19 GB / 2.811 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004415/5.96, allocations: 91.95 kB / 2.812 GB, free: 18.12 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 6.84/12.8, allocations: 1.637 GB / 4.448 GB, free: 63.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.391e-05/12.8, allocations: 12.03 kB / 4.448 GB, free: 63.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/12.81, allocations: 0.9644 MB / 4.449 GB, free: 63.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/12.83, allocations: 2.784 MB / 4.452 GB, free: 62.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/12.83, allocations: 46.38 kB / 4.452 GB, free: 62.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009586/12.83, allocations: 86 kB / 4.452 GB, free: 62.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004984/12.83, allocations: 1.238 MB / 4.453 GB, free: 62.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005572/12.84, allocations: 1.406 MB / 4.455 GB, free: 62.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.815e-05/12.84, allocations: 14.92 kB / 4.455 GB, free: 62.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000426/12.84, allocations: 0 / 4.455 GB, free: 62.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.636e-05/12.84, allocations: 50.06 kB / 4.455 GB, free: 62.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0192/12.86, allocations: 7.592 MB / 4.462 GB, free: 58.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/12.86, allocations: 0.8927 MB / 4.463 GB, free: 58.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/12.86, allocations: 0.5349 MB / 4.464 GB, free: 58.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/12.86, allocations: 280.2 kB / 4.464 GB, free: 58.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/12.86, allocations: 40.28 kB / 4.464 GB, free: 58.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=77): time 4.028e-06/12.86, allocations: 0 / 4.464 GB, free: 58.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=77): time 0.006714/12.87, allocations: 1.201 MB / 4.465 GB, free: 58.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/12.87, allocations: 58.47 kB / 4.465 GB, free: 58.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003634/12.87, allocations: 1.293 MB / 4.466 GB, free: 58.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/12.87, allocations: 27.73 kB / 4.466 GB, free: 58.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/12.87, allocations: 0.6291 MB / 4.467 GB, free: 57.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000362/12.87, allocations: 264.9 kB / 4.467 GB, free: 57.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/12.87, allocations: 0 / 4.467 GB, free: 57.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001041/12.87, allocations: 346.8 kB / 4.468 GB, free: 57.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007966/12.87, allocations: 364 kB / 4.468 GB, free: 57.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009619/12.87, allocations: 0.7506 MB / 4.469 GB, free: 56.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/12.88, allocations: 0.5203 MB / 4.469 GB, free: 56.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/12.88, allocations: 3.562 kB / 4.469 GB, free: 56.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004303/12.88, allocations: 1.354 MB / 4.47 GB, free: 56.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001002/12.88, allocations: 3.752 MB / 4.474 GB, free: 52.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/12.88, allocations: 10.44 kB / 4.474 GB, free: 52.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/12.88, allocations: 103.3 kB / 4.474 GB, free: 52.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/12.88, allocations: 314 kB / 4.475 GB, free: 52.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003504/12.89, allocations: 2.244 MB / 4.477 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/12.89, allocations: 171.1 kB / 4.477 GB, free: 50.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/12.89, allocations: 63.25 kB / 4.477 GB, free: 50.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/12.89, allocations: 3.219 kB / 4.477 GB, free: 50.88 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003421/12.9, allocations: 1.028 MB / 4.478 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/12.9, allocations: 10.78 kB / 4.478 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003925/12.9, allocations: 109.8 kB / 4.478 GB, free: 50.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/12.9, allocations: 247 kB / 4.478 GB, free: 50.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/12.9, allocations: 1.629 MB / 4.48 GB, free: 49.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/12.9, allocations: 139.6 kB / 4.48 GB, free: 49.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/12.9, allocations: 54.28 kB / 4.48 GB, free: 49.61 MB / 0.698 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: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * 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.0006468/12.9, allocations: 140.8 kB / 4.48 GB, free: 49.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006185/12.9, allocations: 185.9 kB / 4.48 GB, free: 49.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004419/12.91, allocations: 1.109 MB / 4.481 GB, free: 49.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/12.91, allocations: 14.45 kB / 4.481 GB, free: 49.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/12.91, allocations: 0 / 4.481 GB, free: 49.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003007/12.91, allocations: 0.9259 MB / 4.482 GB, free: 49.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009247/12.92, allocations: 2.491 MB / 4.485 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/12.92, allocations: 2.719 kB / 4.485 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/12.92, allocations: 255.5 kB / 4.485 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/12.92, allocations: 104.2 kB / 4.485 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/12.92, allocations: 13.11 kB / 4.485 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005171/12.93, allocations: 2.91 MB / 4.488 GB, free: 46.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/12.93, allocations: 3.688 kB / 4.488 GB, free: 46.32 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005306/12.94, allocations: 1.672 MB / 4.49 GB, free: 45.95 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007471/12.94, allocations: 2.777 MB / 4.492 GB, free: 45.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/12.94, allocations: 347.8 kB / 4.493 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004887/12.95, allocations: 3.531 kB / 4.493 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/12.95, allocations: 116.9 kB / 4.493 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/12.95, allocations: 43.14 kB / 4.493 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/12.95, allocations: 32.98 kB / 4.493 GB, free: 45 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.002607/12.95, allocations: 0.9833 MB / 4.494 GB, free: 44.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01504/12.97, allocations: 2.267 MB / 4.496 GB, free: 44.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 74 * 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.00866/12.97, allocations: 4.443 MB / 4.5 GB, free: 42.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005567/12.98, allocations: 1.733 MB / 4.502 GB, free: 42.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/12.98, allocations: 3.281 kB / 4.502 GB, free: 42.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/12.98, allocations: 0.5892 MB / 4.503 GB, free: 42.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006192/12.99, allocations: 0.8344 MB / 4.503 GB, free: 42.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008563/13, allocations: 2.75 MB / 4.506 GB, free: 41.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/13, allocations: 1.776 MB / 4.508 GB, free: 41.12 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/13, allocations: 0 / 4.508 GB, free: 41.12 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)