Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.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.Examples.PumpsSeries,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries",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.8378/0.8378, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001223/0.001224, allocations: 185.3 kB / 164.4 MB, free: 6.875 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.969/1.969, 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.001188/0.001187, allocations: 94.27 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3287/0.33, allocations: 82.88 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.5126, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.128/1.64, allocations: 397.6 MB / 1.009 GB, free: 85.43 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/1.641, allocations: 86.92 kB / 1.009 GB, free: 85.39 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 2.48/4.12, allocations: 0.6648 GB / 1.674 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/4.12, allocations: 6.625 kB / 1.674 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005076/4.125, allocations: 0.6819 MB / 1.675 GB, free: 102 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03653/4.162, allocations: 13.72 MB / 1.688 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/4.162, allocations: 33.03 kB / 1.688 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000552/4.163, allocations: 68.22 kB / 1.688 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002804/4.166, allocations: 0.8598 MB / 1.689 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/4.169, allocations: 1.116 MB / 1.69 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/4.169, allocations: 3.906 kB / 1.69 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/4.169, allocations: 0 / 1.69 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/4.169, allocations: 24.41 kB / 1.69 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/4.181, allocations: 6.024 MB / 1.696 GB, free: 97.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/4.182, allocations: 0.699 MB / 1.697 GB, free: 97.62 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/4.182, allocations: 336.6 kB / 1.697 GB, free: 97.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003089/4.185, allocations: 1.555 MB / 1.699 GB, free: 96.92 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/4.186, allocations: 36.28 kB / 1.699 GB, free: 96.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=57): time 2.305e-06/4.186, allocations: 5.781 kB / 1.699 GB, free: 96.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57): time 0.004155/4.19, allocations: 1.152 MB / 1.7 GB, free: 96.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/4.19, allocations: 211.8 kB / 1.7 GB, free: 96.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/4.192, allocations: 1.208 MB / 1.701 GB, free: 96.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/4.192, allocations: 29.3 kB / 1.701 GB, free: 96.29 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/4.192, allocations: 0.5322 MB / 1.702 GB, free: 96 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/4.192, allocations: 192.7 kB / 1.702 GB, free: 95.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/4.192, allocations: 0 / 1.702 GB, free: 95.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001167/4.193, allocations: 346.7 kB / 1.702 GB, free: 95.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/4.193, allocations: 369.2 kB / 1.703 GB, free: 95.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007965/4.194, allocations: 0.7264 MB / 1.703 GB, free: 95.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/4.196, allocations: 0.5737 MB / 1.704 GB, free: 95.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/4.196, allocations: 0 / 1.704 GB, free: 95.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003175/4.199, allocations: 1.427 MB / 1.705 GB, free: 94.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007235/4.2, allocations: 3.33 MB / 1.709 GB, free: 91.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/4.2, allocations: 14.19 kB / 1.709 GB, free: 91.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009224/4.201, allocations: 301.4 kB / 1.709 GB, free: 91.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000854/4.202, allocations: 206.3 kB / 1.709 GB, free: 91.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/4.203, allocations: 1.572 MB / 1.711 GB, free: 90.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/4.204, allocations: 134.6 kB / 1.711 GB, free: 90.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/4.205, allocations: 74.33 kB / 1.711 GB, free: 90.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/4.205, allocations: 3.469 kB / 1.711 GB, free: 90.36 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002847/4.207, allocations: 1.168 MB / 1.712 GB, free: 90.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/4.207, allocations: 13.45 kB / 1.712 GB, free: 90.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009081/4.208, allocations: 316.9 kB / 1.712 GB, free: 90.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/4.209, allocations: 190.1 kB / 1.712 GB, free: 90.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006441/4.216, allocations: 3.981 MB / 1.716 GB, free: 88.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/4.217, allocations: 105.8 kB / 1.716 GB, free: 88.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/4.217, allocations: 66.31 kB / 1.716 GB, free: 88.11 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.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: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 86 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.00047/4.218, allocations: 144.8 kB / 1.717 GB, free: 87.99 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/4.218, allocations: 162.2 kB / 1.717 GB, free: 87.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/4.222, allocations: 1.385 MB / 1.718 GB, free: 87.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/4.222, allocations: 6.812 kB / 1.718 GB, free: 87.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/4.222, allocations: 2.688 kB / 1.718 GB, free: 87.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/4.222, allocations: 7.516 kB / 1.718 GB, free: 87.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/4.224, allocations: 1.041 MB / 1.719 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/4.224, allocations: 0 / 1.719 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/4.225, allocations: 111 kB / 1.719 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006989/4.226, allocations: 233.7 kB / 1.719 GB, free: 87.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/4.226, allocations: 18.12 kB / 1.719 GB, free: 87.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/4.227, allocations: 1.454 MB / 1.721 GB, free: 86.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/4.227, allocations: 0 / 1.721 GB, free: 86.56 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00355/4.23, allocations: 1.617 MB / 1.722 GB, free: 86.29 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004258/4.235, allocations: 2.487 MB / 1.725 GB, free: 85.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006719/4.235, allocations: 341.1 kB / 1.725 GB, free: 85.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/4.236, allocations: 6.984 kB / 1.725 GB, free: 85.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009464/4.237, allocations: 70.02 kB / 1.725 GB, free: 85.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/4.237, allocations: 43.8 kB / 1.725 GB, free: 85.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/4.237, allocations: 37.17 kB / 1.725 GB, free: 85.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.00136/4.238, allocations: 0.922 MB / 1.726 GB, free: 85.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005686/4.244, allocations: 1.305 MB / 1.728 GB, free: 85.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.002865/4.247, allocations: 1.339 MB / 1.729 GB, free: 84.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00345/4.25, allocations: 1.757 MB / 1.731 GB, free: 84.56 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/4.25, allocations: 0 / 1.731 GB, free: 84.56 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006645/4.251, allocations: 389.5 kB / 1.731 GB, free: 84.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/4.254, allocations: 0.6341 MB / 1.732 GB, free: 84.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004695/4.259, allocations: 2.181 MB / 1.734 GB, free: 83.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/4.26, allocations: 1.557 MB / 1.735 GB, free: 83.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/4.26, allocations: 0 / 1.735 GB, free: 83.23 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)