Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.11/2.11, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 185.2 kB / 487 MB, free: 5.348 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.3 MB / 0.7819 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 99.44 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6124/0.6135, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.8857, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.951/4.837, allocations: 1.945 GB / 3.15 GB, free: 381.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/4.837, allocations: 92.64 kB / 3.15 GB, free: 381.3 MB / 1.151 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 5.289/10.13, allocations: 1.677 GB / 4.827 GB, free: 0.5469 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/10.13, allocations: 8 kB / 4.827 GB, free: 0.5391 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009291/10.14, allocations: 1.082 MB / 4.828 GB, free: 15.45 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/10.15, allocations: 2.806 MB / 4.831 GB, free: 12.57 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/10.15, allocations: 44 kB / 4.831 GB, free: 12.52 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/10.15, allocations: 84 kB / 4.831 GB, free: 12.44 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002611/10.15, allocations: 1.267 MB / 4.832 GB, free: 11.17 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/10.15, allocations: 1.426 MB / 4.834 GB, free: 9.684 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/10.15, allocations: 3.984 kB / 4.834 GB, free: 9.68 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/10.15, allocations: 4 kB / 4.834 GB, free: 9.676 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/10.15, allocations: 46.61 kB / 4.834 GB, free: 9.629 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/10.16, allocations: 7.805 MB / 4.841 GB, free: 1.297 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/10.17, allocations: 0.8819 MB / 4.842 GB, free: 416 kB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6101/10.78, allocations: 0.5637 MB / 4.843 GB, free: 289.1 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004751/10.78, allocations: 277.2 kB / 4.843 GB, free: 288.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/10.78, allocations: 46.59 kB / 4.843 GB, free: 288.8 MB / 1.198 GB Notification: Performance of pre-optimization done (n=78): time 4.298e-06/10.78, allocations: 0 / 4.843 GB, free: 288.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=78): time 0.005423/10.78, allocations: 1.166 MB / 4.844 GB, free: 288.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/10.78, allocations: 59.91 kB / 4.844 GB, free: 288.7 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/10.78, allocations: 1.297 MB / 4.846 GB, free: 288.5 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001945/10.79, allocations: 27.89 kB / 4.846 GB, free: 288.4 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/10.79, allocations: 0.6257 MB / 4.846 GB, free: 288.3 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/10.79, allocations: 268.4 kB / 4.846 GB, free: 288.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/10.79, allocations: 0 / 4.846 GB, free: 288.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/10.79, allocations: 345.9 kB / 4.847 GB, free: 287.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/10.79, allocations: 368.7 kB / 4.847 GB, free: 287.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/10.79, allocations: 0.7644 MB / 4.848 GB, free: 287.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/10.79, allocations: 0.5231 MB / 4.848 GB, free: 287.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/10.79, allocations: 0 / 4.848 GB, free: 287.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002875/10.79, allocations: 1.364 MB / 4.85 GB, free: 287.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009596/10.79, allocations: 3.844 MB / 4.853 GB, free: 283.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/10.79, allocations: 8.438 kB / 4.853 GB, free: 283.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/10.79, allocations: 101.9 kB / 4.854 GB, free: 283.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/10.79, allocations: 281 kB / 4.854 GB, free: 283.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/10.8, allocations: 2.239 MB / 4.856 GB, free: 281.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/10.8, allocations: 186.1 kB / 4.856 GB, free: 281.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/10.8, allocations: 59.48 kB / 4.856 GB, free: 281.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/10.8, allocations: 3.156 kB / 4.856 GB, free: 281.4 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002583/10.8, allocations: 1.068 MB / 4.857 GB, free: 281.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/10.8, allocations: 6.969 kB / 4.857 GB, free: 281.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/10.8, allocations: 110.9 kB / 4.857 GB, free: 281.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/10.8, allocations: 255.3 kB / 4.858 GB, free: 281.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/10.8, allocations: 1.649 MB / 4.859 GB, free: 280.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/10.81, allocations: 162.2 kB / 4.859 GB, free: 280.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/10.81, allocations: 56.56 kB / 4.86 GB, free: 280.2 MB / 1.198 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.0003923/10.81, allocations: 138.9 kB / 4.86 GB, free: 280.1 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/10.81, allocations: 187.5 kB / 4.86 GB, free: 280 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/10.81, allocations: 1.132 MB / 4.861 GB, free: 279.9 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/10.81, allocations: 10.91 kB / 4.861 GB, free: 279.9 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/10.81, allocations: 0 / 4.861 GB, free: 279.9 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00191/10.81, allocations: 0.9351 MB / 4.862 GB, free: 279.7 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/10.82, allocations: 2.692 MB / 4.864 GB, free: 279.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/10.82, allocations: 3.656 kB / 4.864 GB, free: 279.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/10.82, allocations: 213 kB / 4.865 GB, free: 279.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003084/10.82, allocations: 101.9 kB / 4.865 GB, free: 279.2 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/10.82, allocations: 16.25 kB / 4.865 GB, free: 279.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/10.82, allocations: 2.212 MB / 4.867 GB, free: 277.4 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/10.82, allocations: 1.219 kB / 4.867 GB, free: 277.4 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002853/10.82, allocations: 1.685 MB / 4.869 GB, free: 277 MB / 1.198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004381/10.83, allocations: 2.778 MB / 4.871 GB, free: 276.2 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008975/10.83, allocations: 353.5 kB / 4.872 GB, free: 276 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/10.83, allocations: 3.344 kB / 4.872 GB, free: 276 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/10.83, allocations: 122.3 kB / 4.872 GB, free: 276 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/10.83, allocations: 47.12 kB / 4.872 GB, free: 276 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.488e-05/10.83, allocations: 32.8 kB / 4.872 GB, free: 276 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.001688/10.83, allocations: 0.9876 MB / 4.873 GB, free: 275.9 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.007854/10.84, allocations: 2.305 MB / 4.875 GB, free: 275.8 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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.007275/10.85, allocations: 4.394 MB / 4.879 GB, free: 274.2 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.00381/10.85, allocations: 1.717 MB / 4.881 GB, free: 273.9 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/10.85, allocations: 7.125 kB / 4.881 GB, free: 273.9 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008162/10.85, allocations: 0.5173 MB / 4.882 GB, free: 273.8 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004661/10.86, allocations: 0.8356 MB / 4.882 GB, free: 273.8 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006621/10.86, allocations: 2.765 MB / 4.885 GB, free: 273.1 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/10.87, allocations: 1.787 MB / 4.887 GB, free: 272.4 MB / 1.198 GB Notification: Performance of SimCode: time 1.824e-06/10.87, allocations: 0 / 4.887 GB, free: 272.4 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)